diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-09-14 20:27:25 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-09-18 19:08:36 +0800 |
commit | 075815e5ff98a1ba59be58f3081f222f5bb6da1f (patch) | |
tree | fc185b6ac99c4df7bedaa3a30fc873e6e5080350 /tests/state_test_util.go | |
parent | 216c486a3aef2c4e7b4c1dc37b14d321ce912723 (diff) | |
download | go-tangerine-075815e5ff98a1ba59be58f3081f222f5bb6da1f.tar.gz go-tangerine-075815e5ff98a1ba59be58f3081f222f5bb6da1f.tar.zst go-tangerine-075815e5ff98a1ba59be58f3081f222f5bb6da1f.zip |
tests: update common test wrappers and test files
Diffstat (limited to 'tests/state_test_util.go')
-rw-r--r-- | tests/state_test_util.go | 3 |
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())) |