Browse Source

fix comment, #723

pull/773/head
Zach Ramsay 7 years ago
parent
commit
62e8ec34d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      types/block.go

+ 1
- 1
types/block.go View File

@ -169,7 +169,7 @@ type Header struct {
}
// 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 {
if len(h.ValidatorsHash) == 0 {
return nil


Loading…
Cancel
Save