diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-04 17:57:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-04 17:57:02 +0800 |
commit | f59a3b67f69b26f969084e0de165435e80bd8e12 (patch) | |
tree | f92098fa0252484fcdccdaf6075c2842713a2fc9 /cmd/utils/cmd.go | |
parent | 1025d097fd4e5171dadb2c1a8eeb43b7730b13b6 (diff) | |
download | dexon-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.gz dexon-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.zst dexon-f59a3b67f69b26f969084e0de165435e80bd8e12.zip |
StateManager => BlockManager
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r-- | cmd/utils/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index ef2ce8b47..e39655403 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.StateManager().ApplyDiff(parent.State(), parent, block) + _, err := ethereum.BlockManager().ApplyDiff(parent.State(), parent, block) if err != nil { return err } |