light: fix differTries err message in tests (#25358)

pull/25397/head
Eval EXEC 2 years ago committed by GitHub
parent d2247d9f5d
commit 6c4e5d06e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      light/trie_test.go

@ -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():

Loading…
Cancel
Save