aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/miner/worker.go b/miner/worker.go
index e44514755..411bc4e1b 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -293,9 +293,7 @@ func (self *worker) wait() {
// check if canon block and write transactions
if stat == core.CanonStatTy {
// This puts transactions in a extra db for rpc
- core.WriteTransactions(self.chainDb, block)
- // store the receipts
- core.WriteReceipts(self.chainDb, work.receipts)
+ core.WriteTxLookupEntries(self.chainDb, block)
// Write map map bloom filters
core.WriteMipmapBloom(self.chainDb, block.NumberU64(), work.receipts)
// implicit by posting ChainHeadEvent