From b42d5a2211a818f46b54af114e4340e40039a63a Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sat, 21 Apr 2018 20:24:50 -0700 Subject: [PATCH] blockID -> block_id for JSON --- types/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/block.go b/types/block.go index 34d2cb85d..9cfef1f94 100644 --- a/types/block.go +++ b/types/block.go @@ -265,7 +265,7 @@ type Commit struct { // NOTE: The Precommits are in order of address to preserve the bonded ValidatorSet order. // Any peer with a block can gossip precommits by index with a peer without recalculating the // active ValidatorSet. - BlockID BlockID `json:"blockID"` + BlockID BlockID `json:"block_id"` Precommits []*Vote `json:"precommits"` // Volatile