Skip to content

Commit

Permalink
Make rep_crawler_weight_minimum be a valid acceptable value
Browse files Browse the repository at this point in the history
Previously the minimum value was not part of the accepted range, which
did not make much sense logically.

in practice, this change should be so small that it should insignificant.
  • Loading branch information
dsiganos committed Oct 28, 2021
1 parent cf583ae commit 82f97ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/node/repcrawler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void nano::rep_crawler::validate ()
}

nano::uint128_t rep_weight = node.ledger.weight (vote->account);
if (rep_weight <= minimum)
if (rep_weight < minimum)
{
if (node.config.logging.rep_crawler_logging ())
{
Expand Down

0 comments on commit 82f97ad

Please sign in to comment.