diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-14 21:54:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 21:54:46 +0800 |
commit | 22ef7370e7932b085cc0bd7d1a07d58b0ef596a7 (patch) | |
tree | 5ba7df42f48641bfc2e3ae823eadeb5f85bd1b2f /eth/api.go | |
parent | a38be3eb488a349693a9c9905ab015278281f8db (diff) | |
parent | bb3651abc865c6f6babec0d357afa85f5a539d83 (diff) | |
download | go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.gz go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.zst go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.zip |
Merge pull request #2686 from obscuren/issue-2542
core/state, eth: Updated suicides objects when tracing transactions
Diffstat (limited to 'eth/api.go')
-rw-r--r-- | eth/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/api.go b/eth/api.go index 3cb6c4d10..9f5f2e677 100644 --- a/eth/api.go +++ b/eth/api.go @@ -1876,6 +1876,7 @@ func (api *PrivateDebugAPI) TraceTransaction(txHash common.Hash, logger *vm.LogC if err != nil { return nil, fmt.Errorf("mutation failed: %v", err) } + stateDb.DeleteSuicides() continue } // Otherwise trace the transaction and return |