mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[net processing] FeeFilterRounder doesn't own a FastRandomContext
This commit is contained in:
@@ -13,7 +13,8 @@ BOOST_AUTO_TEST_SUITE(policy_fee_tests)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(FeeRounder)
|
||||
{
|
||||
FeeFilterRounder fee_rounder{CFeeRate{1000}};
|
||||
FastRandomContext rng{/*fDeterministic=*/true};
|
||||
FeeFilterRounder fee_rounder{CFeeRate{1000}, rng};
|
||||
|
||||
// check that 1000 rounds to 974 or 1071
|
||||
std::set<CAmount> results;
|
||||
|
||||
Reference in New Issue
Block a user