blockID -> block_id for JSON

This commit is contained in:
Jae Kwon 2018-04-21 20:24:50 -07:00
parent b20e777f53
commit b42d5a2211

View File

@ -265,7 +265,7 @@ type Commit struct {
// NOTE: The Precommits are in order of address to preserve the bonded ValidatorSet order. // 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 // Any peer with a block can gossip precommits by index with a peer without recalculating the
// active ValidatorSet. // active ValidatorSet.
BlockID BlockID `json:"blockID"` BlockID BlockID `json:"block_id"`
Precommits []*Vote `json:"precommits"` Precommits []*Vote `json:"precommits"`
// Volatile // Volatile