core: fix test for missing trie nodes

This commit is contained in:
Rob Mulholand 2020-06-01 14:25:32 -05:00 committed by Elizabeth Engelman
parent c44bb1943b
commit b0631e73f3

View File

@ -830,7 +830,7 @@ func TestMissingTrieNodes(t *testing.T) {
}
// Modify the state
state.SetBalance(addr, big.NewInt(2))
root, err, _ := state.Commit(false)
root, _, err := state.Commit(false)
if err == nil {
t.Fatalf("expected error, got root :%x", root)
}