From 62e8ec34d1ba335d4124ef4ca8179e6324503db6 Mon Sep 17 00:00:00 2001 From: Zach Ramsay Date: Mon, 23 Oct 2017 19:51:09 -0400 Subject: [PATCH] fix comment, #723 --- types/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/block.go b/types/block.go index c8cdf81a9..17e257b9d 100644 --- a/types/block.go +++ b/types/block.go @@ -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