aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-22 20:12:01 +0800
committerobscuren <geffobscura@gmail.com>2015-02-22 20:12:01 +0800
commit483d96a89d68023360d211ab329400f4b960fe48 (patch)
tree985a6cd9d713cb36e57064da5b465d8810bc42d0 /cmd/utils/cmd.go
parentbba7ccb07f08e0c6ad404abfb363deaec1db5fab (diff)
downloadgo-tangerine-483d96a89d68023360d211ab329400f4b960fe48.tar.gz
go-tangerine-483d96a89d68023360d211ab329400f4b960fe48.tar.zst
go-tangerine-483d96a89d68023360d211ab329400f4b960fe48.zip
Added eth_logs & fixed issue with manual log filtering
* Implemented `eth_logs` * Fixed issue with `filter.Find()` where logs were appended to an incorrect, non-returned slice resulting in no logs found
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index d252f3ab2..bc8fafafb 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -272,7 +272,7 @@ func BlockDo(ethereum *eth.Ethereum, hash []byte) error {
parent := ethereum.ChainManager().GetBlock(block.ParentHash())
statedb := state.New(parent.Root(), ethereum.Db())
- _, err := ethereum.BlockProcessor().TransitionState(statedb, parent, block)
+ _, err := ethereum.BlockProcessor().TransitionState(statedb, parent, block, true)
if err != nil {
return err
}