Merge pull request #773 from tendermint/docs-staging

docs improvements
This commit is contained in:
Ethan Buchman
2017-10-27 16:18:56 -04:00
committed by GitHub
16 changed files with 478 additions and 172 deletions
+1 -1
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