From 0c264b1486d97b7c6387fccfae23566f02812294 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 11 Aug 2020 21:55:51 +0300 Subject: [PATCH] mpt: fix comment typo --- pkg/core/mpt/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/mpt/hash.go b/pkg/core/mpt/hash.go index 42519a1ac..565f720ca 100644 --- a/pkg/core/mpt/hash.go +++ b/pkg/core/mpt/hash.go @@ -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.