From b0631e73f38cda39855ef02f943c9f496dbdfead Mon Sep 17 00:00:00 2001 From: Rob Mulholand Date: Mon, 1 Jun 2020 14:25:32 -0500 Subject: [PATCH] core: fix test for missing trie nodes --- core/state/statedb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index d38544d76..9bfdbe7f2 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -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) }