diff options
author | dergoegge <n.goeggi@gmail.com> | 2023-10-02 14:21:35 +0100 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2023-10-04 13:16:52 +0100 |
commit | fecec3e1c661ba273470ecc5ef12d4c070b53050 (patch) | |
tree | 9b7d27beb5e856a7bf0eb16ac8f82ffe06db2982 /src/test/policy_fee_tests.cpp | |
parent | 47520ed209d9341702a0fb6006bee6f63f7da42e (diff) | |
download | bitcoin-fecec3e1c661ba273470ecc5ef12d4c070b53050.tar.xz |
[net processing] FeeFilterRounder doesn't own a FastRandomContext
Diffstat (limited to 'src/test/policy_fee_tests.cpp')
-rw-r--r-- | src/test/policy_fee_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/policy_fee_tests.cpp b/src/test/policy_fee_tests.cpp index 25fb5343e3..29d70cb5f8 100644 --- a/src/test/policy_fee_tests.cpp +++ b/src/test/policy_fee_tests.cpp @@ -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; |