mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +00:00
fix comment, #723
This commit is contained in:
@ -169,7 +169,7 @@ type Header struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Hash returns the hash of the header.
|
// Hash returns the hash of the header.
|
||||||
// NOTE: hash is nil if required fields are missing.
|
// Returns nil if ValidatorHash is missing.
|
||||||
func (h *Header) Hash() data.Bytes {
|
func (h *Header) Hash() data.Bytes {
|
||||||
if len(h.ValidatorsHash) == 0 {
|
if len(h.ValidatorsHash) == 0 {
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user