aboutsummaryrefslogtreecommitdiffstats
path: root/chain/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-12 08:36:36 +0800
committerobscuren <geffobscura@gmail.com>2014-11-12 08:36:36 +0800
commit60cdb1148c404218846fd39331690658168f4e04 (patch)
tree229e68d7dfdaccb12e0b6b9ff19c5c14b9f9c603 /chain/chain_manager.go
parent9bb1ac7564ff0588f33a1eb43e76f40664d9e527 (diff)
downloaddexon-60cdb1148c404218846fd39331690658168f4e04.tar
dexon-60cdb1148c404218846fd39331690658168f4e04.tar.gz
dexon-60cdb1148c404218846fd39331690658168f4e04.tar.bz2
dexon-60cdb1148c404218846fd39331690658168f4e04.tar.lz
dexon-60cdb1148c404218846fd39331690658168f4e04.tar.xz
dexon-60cdb1148c404218846fd39331690658168f4e04.tar.zst
dexon-60cdb1148c404218846fd39331690658168f4e04.zip
Transaction execution fixes
Diffstat (limited to 'chain/chain_manager.go')
-rw-r--r--chain/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/chain_manager.go b/chain/chain_manager.go
index 077db649f..710d96bef 100644
--- a/chain/chain_manager.go
+++ b/chain/chain_manager.go
@@ -47,7 +47,7 @@ func (bc *ChainManager) NewBlock(coinbase []byte) *Block {
hash := ZeroHash256
if bc.CurrentBlock != nil {
- root = bc.CurrentBlock.state.Trie.Root
+ root = bc.CurrentBlock.Root()
hash = bc.LastBlockHash
}