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 and HanWang233 committed Sep 11, 2022
1 parent cb115b3 commit 064a805
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 064a805

Please sign in to comment.