diff --git a/consensus/src/processes/window.rs b/consensus/src/processes/window.rs index bc63e7230..6f724e662 100644 --- a/consensus/src/processes/window.rs +++ b/consensus/src/processes/window.rs @@ -410,7 +410,9 @@ impl { - heap.deref_mut().try_push(block.hash, block.blue_work); + if !heap.deref_mut().try_push(block.hash, block.blue_work) { + return; + } } SampledBlock::NonDaa(hash) => mergeset_non_daa_inserter(hash), }