aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-14 21:54:46 +0800
committerGitHub <noreply@github.com>2016-06-14 21:54:46 +0800
commit22ef7370e7932b085cc0bd7d1a07d58b0ef596a7 (patch)
tree5ba7df42f48641bfc2e3ae823eadeb5f85bd1b2f /eth
parenta38be3eb488a349693a9c9905ab015278281f8db (diff)
parentbb3651abc865c6f6babec0d357afa85f5a539d83 (diff)
downloadgo-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar
go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.gz
go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.bz2
go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.lz
go-tangerine-22ef7370e7932b085cc0bd7d1a07d58b0ef596a7.tar.xz
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')
-rw-r--r--eth/api.go1
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