mpt: fix comment typo

This commit is contained in:
Roman Khimov 2020-08-11 21:55:51 +03:00
parent b8ec1b1d93
commit 43eb670d45

View file

@ -36,7 +36,7 @@ func (h *HashNode) Hash() util.Uint256 {
return h.hash
}
// IsEmpty returns true iff h is an empty node i.e. contains no hash.
// IsEmpty returns true if h is an empty node i.e. contains no hash.
func (h *HashNode) IsEmpty() bool { return !h.hashValid }
// Bytes returns serialized HashNode.