aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-23 20:48:44 +0800
committerobscuren <geffobscura@gmail.com>2014-12-23 20:48:44 +0800
commit4cd79d8ddd7608d60344b13fe4bda7315429d1d9 (patch)
tree0d1abaa9ef5c302c1ef51e8e8dbd94e9e696f28a /cmd/utils/cmd.go
parent4b52cd512d3c54451e680fcc6c3d67d059065bec (diff)
downloadgo-tangerine-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.gz
go-tangerine-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.zst
go-tangerine-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.zip
Refactored block & Transaction
* Includes new rlp decoder
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 3e3ac617a..2b24ac532 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -325,7 +325,7 @@ func BlockDo(ethereum *eth.Ethereum, hash []byte) error {
return fmt.Errorf("unknown block %x", hash)
}
- parent := ethereum.ChainManager().GetBlock(block.PrevHash)
+ parent := ethereum.ChainManager().GetBlock(block.ParentHash())
_, err := ethereum.BlockManager().TransitionState(parent.State(), parent, block)
if err != nil {