types: revert breaking change (#6538)

## Description

revert #5523 to avoid breaking changes

cc @greg-szabo
This commit is contained in:
Marko
2021-06-07 08:26:47 +00:00
committed by GitHub
parent 00c284d9d7
commit eaa0468190
11 changed files with 40 additions and 41 deletions
+1 -1
View File
@@ -1172,7 +1172,7 @@ func (data *EvidenceData) FromProto(eviData *tmproto.EvidenceList) error {
// BlockID
type BlockID struct {
Hash tmbytes.HexBytes `json:"hash"`
PartSetHeader PartSetHeader `json:"part_set_header"`
PartSetHeader PartSetHeader `json:"parts"`
}
// Equals returns true if the BlockID matches the given BlockID