aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/block_chain.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-03 03:42:05 +0800
committerobscuren <geffobscura@gmail.com>2014-03-03 03:42:05 +0800
commitd65b4cd0dd49975410374801fae3ece7d7e087b3 (patch)
treef8ce81fc3c9f376d65db151f4856118fdba13828 /ethchain/block_chain.go
parentf1b354e6aa6c4b0330e35ae9011784ff1a0b01ab (diff)
downloadgo-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar.gz
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar.bz2
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar.lz
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar.xz
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.tar.zst
go-tangerine-d65b4cd0dd49975410374801fae3ece7d7e087b3.zip
Updated block to use state instead of trie directly
Diffstat (limited to 'ethchain/block_chain.go')
-rw-r--r--ethchain/block_chain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index 96d22366d..026fc1cea 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -39,7 +39,7 @@ func (bc *BlockChain) NewBlock(coinbase []byte, txs []*Transaction) *Block {
hash := ZeroHash256
if bc.CurrentBlock != nil {
- root = bc.CurrentBlock.State().Root
+ root = bc.CurrentBlock.state.trie.Root
hash = bc.LastBlockHash
lastBlockTime = bc.CurrentBlock.Time
}