Page MenuHomePhabricator

test: Add cost_of_change parameter assertions to bnb_search_test
ClosedPublic

Authored by Fabien on Nov 10 2020, 12:39.

Details

Summary

Backport of core PR18195.

Since we don't support multiplication with a double (see amount.h),
the 0.9 * CENT has been updated to 9 * CENT / 10 and so on, so the
amounts remain integers.

Test Plan
ninja check-bitcoin-coinselector_tests