diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-03 03:42:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-03 03:42:05 +0800 |
commit | d65b4cd0dd49975410374801fae3ece7d7e087b3 (patch) | |
tree | f8ce81fc3c9f376d65db151f4856118fdba13828 /ethchain/block_chain.go | |
parent | f1b354e6aa6c4b0330e35ae9011784ff1a0b01ab (diff) | |
download | go-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.go | 2 |
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 } |