diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-23 21:53:53 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-23 21:53:53 +0800 |
commit | c81804444f69ae1653d54551d8555ff924651cd9 (patch) | |
tree | c0c19316adb648eccb9696b1c953531d06a8b11f /ethchain/block_chain.go | |
parent | ef7f3f36e261bc500016dac0a703c5b7931a1721 (diff) | |
download | dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar.gz dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar.bz2 dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar.lz dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar.xz dexon-c81804444f69ae1653d54551d8555ff924651cd9.tar.zst dexon-c81804444f69ae1653d54551d8555ff924651cd9.zip |
Call initial closure with proper tx argument
Diffstat (limited to 'ethchain/block_chain.go')
-rw-r--r-- | ethchain/block_chain.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go index d65c38fe4..08886c9cd 100644 --- a/ethchain/block_chain.go +++ b/ethchain/block_chain.go @@ -46,6 +46,7 @@ func (bc *BlockChain) NewBlock(coinbase []byte, txs []*Transaction) *Block { hash = bc.LastBlockHash lastBlockTime = bc.CurrentBlock.Time } + block := CreateBlock( root, hash, |