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) }