Skip to content

Commit

Permalink
Fix missing channel source
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Apr 5, 2024
1 parent 32d7160 commit d731e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nano/node/vote_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -96,7 +96,7 @@ bool nano::vote_processor::vote (std::shared_ptr<nano::vote> const & vote, std::
bool added = false;
{
nano::lock_guard<nano::mutex> guard{ mutex };
added = queue.push ({ vote, channel }, tier);
added = queue.push ({ vote, channel }, { tier, channel });
}
if (added)
{
Expand Down

0 comments on commit d731e54

Please sign in to comment.