light: fix differTries err message in tests (#25358)
This commit is contained in:
parent
d2247d9f5d
commit
6c4e5d06e7
@ -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…
Reference in New Issue
Block a user