Small fix for best_claim_effective_amount_equals #135

Merged
kaykurokawa merged 1 commit from small_effectiveamount_fix into master 2018-05-14 23:48:51 +02:00

View file

@ -74,7 +74,7 @@ best_claim_effective_amount_equals(std::string name, CAmount amount)
else
{
CAmount effective_amount = pclaimTrie->getEffectiveAmountForClaim(name, val.claimId);
if (val.nEffectiveAmount != amount)
if (effective_amount != amount)
{
boost::test_tools::predicate_result res(false);
res.message()<<amount<<" != "<<effective_amount;