types: rename json parts to part_set_header (#5523)

This commit is contained in:
Marko
2020-10-19 09:16:45 +02:00
committed by GitHub
parent 6ef7b316cd
commit a5d3e19b4a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -25,3 +25,5 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi
- [statesync] \#5516 Check that all heights necessary to rebuild state for a snapshot exist before adding the snapshot to the pool. (@erikgrinaker)
### BUG FIXES
- [types] \#5523 Change json naming of `PartSetHeader` within `BlockID` from `parts` to `part_set_header` (@marbar3778)
+1 -1
View File
@@ -1150,7 +1150,7 @@ func (data *EvidenceData) FromProto(eviData *tmproto.EvidenceData) error {
// BlockID
type BlockID struct {
Hash tmbytes.HexBytes `json:"hash"`
PartSetHeader PartSetHeader `json:"parts"`
PartSetHeader PartSetHeader `json:"part_set_header"`
}
// Equals returns true if the BlockID matches the given BlockID