Skip to content

Commit

Permalink
Fix logic in active_transactions.prioritize_chains test (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
wezrule committed Apr 20, 2020
1 parent 068f6d0 commit 13d05f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/core_test/active_transactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ TEST (active_transactions, prioritize_chains)
auto it (node1.active.roots.get<1> ().begin ());
while (!node1.active.roots.empty () && it != node1.active.roots.get<1> ().end ())
{
if (it->multiplier == (multiplier1 || multiplier2))
if (it->multiplier == multiplier1 || it->multiplier == multiplier2)
{
seen++;
}
Expand Down

0 comments on commit 13d05f3

Please sign in to comment.