mpt: fix comment typo

This commit is contained in:
Roman Khimov 2020-08-11 21:55:51 +03:00
parent f0f676eb1c
commit 0c264b1486

View file

@ -36,7 +36,7 @@ func (h *HashNode) Hash() util.Uint256 {
return h.hash 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 } func (h *HashNode) IsEmpty() bool { return !h.hashValid }
// Bytes returns serialized HashNode. // Bytes returns serialized HashNode.