Added comment

This commit is contained in:
arkpar 2016-06-30 22:34:54 +02:00
parent 070c1b170f
commit 5a7fd628db
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}