aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-03 05:37:45 +0800
committerobscuren <geffobscura@gmail.com>2014-12-03 05:37:45 +0800
commitf7789220862f67c2aadaf7b6a44fcd54152dd234 (patch)
tree173339a8da9b45c3e03b4f5a36ca5622a42e48b0 /cmd/utils/cmd.go
parentedc52bdcbf65b396a838a347b370ea859ae58247 (diff)
downloaddexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.gz
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.bz2
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.lz
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.xz
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.zst
dexon-f7789220862f67c2aadaf7b6a44fcd54152dd234.zip
Set proper message value
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 96590b20f..d9b26c701 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -317,7 +317,7 @@ func BlockDo(ethereum *eth.Ethereum, hash []byte) error {
parent := ethereum.ChainManager().GetBlock(block.PrevHash)
- _, err := ethereum.BlockManager().ApplyDiff(parent.State(), parent, block)
+ _, err := ethereum.BlockManager().TransitionState(parent.State(), parent, block)
if err != nil {
return err
}