aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test_util.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/state_test_util.go')
-rw-r--r--tests/state_test_util.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/state_test_util.go b/tests/state_test_util.go
index def9b0c36..086822461 100644
--- a/tests/state_test_util.go
+++ b/tests/state_test_util.go
@@ -181,9 +181,6 @@ func runStateTest(test VmTest) error {
// check post state
for addr, account := range test.Post {
obj := statedb.GetStateObject(common.HexToAddress(addr))
- if obj == nil {
- continue
- }
if obj.Balance().Cmp(common.Big(account.Balance)) != 0 {
return fmt.Errorf("(%x) balance failed. Expected %v, got %v => %v\n", obj.Address().Bytes()[:4], account.Balance, obj.Balance(), new(big.Int).Sub(common.Big(account.Balance), obj.Balance()))