aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-21 18:21:34 +0800
committerobscuren <geffobscura@gmail.com>2014-07-21 18:21:34 +0800
commit5d2669dbd35b9449cbbb249dcec89e2a64c90f30 (patch)
treee12a934fa2408210458a65c282aac815e21d4708 /ethminer/miner.go
parent9f00aeae29d53fec358fcecdc9bcc162b8e3984c (diff)
downloadgo-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar.gz
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar.bz2
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar.lz
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar.xz
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.tar.zst
go-tangerine-5d2669dbd35b9449cbbb249dcec89e2a64c90f30.zip
Fixed tx sha creation
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r--ethminer/miner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go
index a50b3712f..bfea8e580 100644
--- a/ethminer/miner.go
+++ b/ethminer/miner.go
@@ -165,6 +165,7 @@ func (self *Miner) mineNewBlock() {
logger.Debugln(err)
}
self.txs = append(txs, unhandledTxs...)
+ self.block.SetTxHash(receipts)
// Set the transactions to the block so the new SHA3 can be calculated
self.block.SetReceipts(receipts, txs)