Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
arkpar committed Jun 30, 2016
1 parent 070c1b1 commit 5a7fd62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethcore/src/miner/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ impl Miner {
let number = block.block().fields().header.number();
let difficulty = *block.block().fields().header.difficulty();
sealing_work.push(block);
// If push notifications are enabled we assume all work items are used.
if self.work_poster.is_some() {
sealing_work.use_last_ref();
}
Expand Down

0 comments on commit 5a7fd62

Please sign in to comment.