From ef6cfcd4b8beb4c1ac221afce9f13142729e5c20 Mon Sep 17 00:00:00 2001 From: splinter Date: Tue, 10 Feb 2026 23:34:08 +0100 Subject: [PATCH] Update proof_test.go --- trie/proof_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trie/proof_test.go b/trie/proof_test.go index 82cc52dad6..5c80484892 100644 --- a/trie/proof_test.go +++ b/trie/proof_test.go @@ -429,7 +429,7 @@ func TestSingleSideRangeProof(t *testing.T) { if err := trie.Prove(common.Hash{}.Bytes(), proof); err != nil { t.Fatalf("Failed to prove the first node %v", err) } - if err := trie.Prove(entries[pos].k, proof); err != nil { + if err := trie.Prove(entries[pos].k, proof); err != nil { t.Fatalf("Failed to prove the first node %v", err) } k := make([][]byte, 0, pos+1) @@ -633,7 +633,7 @@ func TestHasRightElement(t *testing.T) { t.Fatalf("Failed to prove the first node %v", err) } } - if err := trie.Prove(entries[c.end-1].k, proof); err != nil { + if err := trie.Prove(entries[c.end-1].k, proof); err != nil { t.Fatalf("Failed to prove the first node %v", err) } k := make([][]byte, 0, end-start)