From 4d64bbe82dfe1613ac8c3a4b32a7a27edba72b0e Mon Sep 17 00:00:00 2001 From: conomist Date: Sun, 11 Jan 2026 17:26:12 +0100 Subject: [PATCH] Update trie_test.go --- trie/trie_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trie/trie_test.go b/trie/trie_test.go index b8b8edb33e..2efcb47e2b 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -1356,8 +1356,10 @@ func testTrieCopy(t *testing.T, entries []kv) { } trCpy := tr.Copy() - if tr.Hash() != trCpy.Hash() { - t.Errorf("Hash mismatch: old %v, copy %v", tr.Hash(), trCpy.Hash()) + trHash := tr.Hash() + copyHash := trCpy.Hash() + if trHash != copyHash { + t.Errorf("Hash mismatch: old %v, copy %v", trHash, copyHash) } // Check iterator