From df5603de0a34e80a1af6ad03e37ce43728baad35 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 30 Oct 2014 13:32:50 +0100 Subject: 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 --- ethminer/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethminer/miner.go') 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) -- cgit v1.2.3