add anotation for json/yaml marshal ibc/tendermint/header type (#6138)

This commit is contained in:
Pavel 2020-05-04 23:34:08 +03:00 committed by GitHub
parent 18890a225b
commit 110942add6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ var _ clientexported.Header = Header{}
// Header defines the Tendermint consensus Header
type Header struct {
tmtypes.SignedHeader // contains the commitment root
tmtypes.SignedHeader `json:"signed_header" yaml:"signed_header"` // contains the commitment root
ValidatorSet *tmtypes.ValidatorSet `json:"validator_set" yaml:"validator_set"`
}