From d731e549207a81a32843f1293b7078c0fbc7183f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:44:27 +0200 Subject: [PATCH] Fix missing channel source --- nano/node/vote_processor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nano/node/vote_processor.cpp b/nano/node/vote_processor.cpp index b211974977..c0d62e6e84 100644 --- a/nano/node/vote_processor.cpp +++ b/nano/node/vote_processor.cpp @@ -33,7 +33,7 @@ nano::vote_processor::vote_processor (nano::active_transactions & active_a, nano case nano::rep_tier::tier_3: case nano::rep_tier::tier_2: case nano::rep_tier::tier_1: - return 512; + return 256; case nano::rep_tier::none: return 32; } @@ -96,7 +96,7 @@ bool nano::vote_processor::vote (std::shared_ptr const & vote, std:: bool added = false; { nano::lock_guard guard{ mutex }; - added = queue.push ({ vote, channel }, tier); + added = queue.push ({ vote, channel }, { tier, channel }); } if (added) {