Fixed tx sha creation

This commit is contained in:
obscuren
2014-07-21 12:21:34 +02:00
parent 9f00aeae29
commit 5d2669dbd3
3 changed files with 35 additions and 16 deletions

View File

@ -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)