aboutsummaryrefslogtreecommitdiffstats
path: root/chain/chain_manager.go
diff options
context:
space:
mode:
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
}