From 82cf0663b093e042ba21bf4795ee7e694329a1d9 Mon Sep 17 00:00:00 2001 From: seungju Date: Wed, 1 May 2019 07:34:29 +0200 Subject: [PATCH] fix comment typo fix small comment typo, iff -> if --- trie/iterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/iterator.go b/trie/iterator.go index da93b2fadb..2e2023e1b9 100644 --- a/trie/iterator.go +++ b/trie/iterator.go @@ -83,7 +83,7 @@ type NodeIterator interface { // For leaf nodes, the last element of the path is the 'terminator symbol' 0x10. Path() []byte - // Leaf returns true iff the current node is a leaf node. + // Leaf returns true if the current node is a leaf node. Leaf() bool // LeafKey returns the key of the leaf. The method panics if the iterator is not