From 1bb97cc487ddd17b237e88c17a41d9a41f1b91d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BF=8A?= Date: Tue, 24 Apr 2018 18:03:28 +0800 Subject: [PATCH] fix typo --- trie/iterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/iterator.go b/trie/iterator.go index 76146c0d64..ed91f24746 100644 --- a/trie/iterator.go +++ b/trie/iterator.go @@ -73,7 +73,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. // LeafBlob, LeafKey return the contents and key of the leaf node. These // method panic if the iterator is not positioned at a leaf. // Callers must not retain references to their return value after calling Next