diff options
author | Maran <maran.hidskes@gmail.com> | 2014-04-09 21:48:17 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-04-09 21:48:17 +0800 |
commit | a83db489dfddb16786b1de3d28aee4a4af9e12d5 (patch) | |
tree | 3a6b13612c9bc4aae65df58d5ed2ccf04633dbca /ethminer | |
parent | b66a99e32dd51ddd66a81141a9a37f93144935bd (diff) | |
download | go-tangerine-a83db489dfddb16786b1de3d28aee4a4af9e12d5.tar.gz go-tangerine-a83db489dfddb16786b1de3d28aee4a4af9e12d5.tar.zst go-tangerine-a83db489dfddb16786b1de3d28aee4a4af9e12d5.zip |
Fix transaction on new blocks
Diffstat (limited to 'ethminer')
-rw-r--r-- | ethminer/miner.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index 60af3ab31..d84977342 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -105,6 +105,7 @@ func (miner *Miner) listener() { if found == false { log.Println("[MINER] We did not know about this transaction, adding") miner.txs = append(miner.txs, tx) + miner.block = miner.ethereum.BlockChain().NewBlock(miner.coinbase, miner.txs) miner.block.SetTransactions(miner.txs) } else { log.Println("[MINER] We already had this transaction, ignoring") |