Skip to content

Commit

Permalink
Writing private block bloom for miner
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhurat committed Oct 19, 2018
1 parent 0d0c507 commit a3ec05d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@ func (self *worker) wait() {
log.Error("Failed writing block to chain", "err", err)
continue
}

if err := core.WritePrivateBlockBloom(self.chainDb, block.NumberU64(), work.privateReceipts); err != nil {
log.Error("Failed writing private block bloom", "err", err)
continue
}

// check if canon block and write transactions
if stat == core.CanonStatTy {
// implicit by posting ChainHeadEvent
Expand Down

0 comments on commit a3ec05d

Please sign in to comment.