Browse Source

types: rename json parts to part_set_header (#5523)

pull/5526/head
Marko 4 years ago
committed by GitHub
parent
commit
a5d3e19b4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      CHANGELOG_PENDING.md
  2. +1
    -1
      types/block.go

+ 2
- 0
CHANGELOG_PENDING.md 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
types/block.go 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


Loading…
Cancel
Save