From 298efe9c4b11abb6cf537bb4fb35f448ecbadb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Fri, 16 Nov 2018 11:50:07 +0200 Subject: [PATCH] trie: minor code formatting fix --- trie/proof.go | 1 + 1 file changed, 1 insertion(+) diff --git a/trie/proof.go b/trie/proof.go index d1bc6d5f9c..62c47beda2 100644 --- a/trie/proof.go +++ b/trie/proof.go @@ -67,6 +67,7 @@ func (t *Trie) Prove(key []byte, fromLevel uint, proofDb ethdb.Putter) error { } hasher := newHasher(0, 0, nil) defer returnHasherToPool(hasher) + for i, n := range nodes { // Don't bother checking for errors here since hasher panics // if encoding doesn't work and we're not writing to any database.