Skip to content

Commit

Permalink
Only inspecting live blocks for activation.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed May 8, 2024
1 parent a3ea5fa commit d4a7886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/node/blockprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ nano::block_status nano::block_processor::process_one (secure::write_transaction
nano::log::arg{ "forced", forced_a },
nano::log::arg{ "block", block });

if (result == nano::block_status::progress)
if (result == nano::block_status::progress && context.source == nano::block_source::live)
{
std::shared_ptr<nano::block> removed;
if (node.ledger.dependents_confirmed (transaction_a, *block))
Expand Down

0 comments on commit d4a7886

Please sign in to comment.