Fix logic in active_transactions.prioritize_chains test (#2717)

This commit is contained in:
Wesley Shillingford 2020-04-20 11:39:31 +01:00 committed by GitHub
commit 13d05f3f6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,7 +300,7 @@ TEST (active_transactions, prioritize_chains)
auto it (node1.active.roots.get<1> ().begin ()); auto it (node1.active.roots.get<1> ().begin ());
while (!node1.active.roots.empty () && it != node1.active.roots.get<1> ().end ()) 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++; seen++;
} }