Skip to content

Commit

Permalink
light: fix differTries err message in tests (ethereum#25358)
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec authored Jul 25, 2022
1 parent d2247d9 commit 6c4e5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light/trie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func diffTries(t1, t2 state.Trie) error {
case i1.Err != nil:
return fmt.Errorf("full trie iterator error: %v", i1.Err)
case i2.Err != nil:
return fmt.Errorf("light trie iterator error: %v", i1.Err)
return fmt.Errorf("light trie iterator error: %v", i2.Err)
case i1.Next():
return fmt.Errorf("full trie iterator has more k/v pairs")
case i2.Next():
Expand Down

0 comments on commit 6c4e5d0

Please sign in to comment.