aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-30 20:32:50 +0800
committerobscuren <geffobscura@gmail.com>2014-10-30 20:32:50 +0800
commitdf5603de0a34e80a1af6ad03e37ce43728baad35 (patch)
tree5d9a71ad887c243b781b1c2d6077336bed82057b /ethminer/miner.go
parentfa890c8c0140dac1e02038a6134db0d83bb85af9 (diff)
downloadgo-tangerine-df5603de0a34e80a1af6ad03e37ce43728baad35.tar.gz
go-tangerine-df5603de0a34e80a1af6ad03e37ce43728baad35.tar.zst
go-tangerine-df5603de0a34e80a1af6ad03e37ce43728baad35.zip
Moved logging to state, proper structured block
* Moved logs to state so it's subject to snapshotting * Split up block header * Removed logs from transactions and made them receipts only
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r--ethminer/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go
index 57cf0cd57..571b92ce0 100644
--- a/ethminer/miner.go
+++ b/ethminer/miner.go
@@ -185,8 +185,8 @@ func (self *Miner) mineNewBlock() {
self.ethereum.TxPool().RemoveSet(erroneous)
self.txs = append(txs, unhandledTxs...)
- self.block.SetReceipts(receipts)
self.block.SetTransactions(txs)
+ self.block.SetReceipts(receipts)
// Accumulate the rewards included for this block
stateManager.AccumelateRewards(self.block.State(), self.block, parent)