Skip to content

Commit

Permalink
Fix PoW blockchains sealing notifications in chain_new_blocks (openet…
Browse files Browse the repository at this point in the history
  • Loading branch information
sorpaas authored and VladLupashevskyi committed Jun 1, 2018
1 parent 0b15818 commit f8f2345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethcore/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,7 @@ impl ImportSealedBlock for Client {
route
};
let route = ChainRoute::from([route].as_ref());
self.importer.miner.chain_new_blocks(self, &[h.clone()], &[], route.enacted(), route.retracted(), true);
self.importer.miner.chain_new_blocks(self, &[h.clone()], &[], route.enacted(), route.retracted(), self.engine.seals_internally().is_some());
self.notify(|notify| {
notify.new_blocks(
vec![h.clone()],
Expand Down

0 comments on commit f8f2345

Please sign in to comment.