mirror of https://github.com/poanetwork/quorum.git
Merge pull request #556 from jbhurat/missing-private-bloom-state
Writing private block bloom for miner
This commit is contained in:
commit
134059e5f7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue