From 608b4c4765c071409a30a15e6b25622a0339e92a Mon Sep 17 00:00:00 2001 From: clemahieu Date: Wed, 3 Nov 2021 12:00:52 +0000 Subject: [PATCH] Community Patch 1 (from VoxPopuli Team) - removed low_active_elections check as if active elections> 500. Election limiting in handled by the election scheduler rather than by individual call sites. (#3540) --- nano/node/active_transactions.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nano/node/active_transactions.cpp b/nano/node/active_transactions.cpp index c4481a479..2ab4de9ac 100644 --- a/nano/node/active_transactions.cpp +++ b/nano/node/active_transactions.cpp @@ -244,10 +244,7 @@ void nano::active_transactions::block_cemented_callback (std::shared_ptrsize () < nano::active_transactions::max_active_elections_frontier_insertion / 2; }; - - if (cemented_bootstrap_count_reached && was_active && low_active_elections ()) + if (cemented_bootstrap_count_reached && was_active) { // Start or vote for the next unconfirmed block scheduler.activate (account, transaction);