File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1036,6 +1036,7 @@ FeeFilterRounder::FeeFilterRounder(const CFeeRate& minIncrementalFee)
10361036
10371037CAmount FeeFilterRounder::round (CAmount currentMinFee)
10381038{
1039+ AssertLockNotHeld (m_insecure_rand_mutex);
10391040 std::set<double >::iterator it = m_fee_set.lower_bound (currentMinFee);
10401041 if (it == m_fee_set.end () ||
10411042 (it != m_fee_set.begin () &&
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ class FeeFilterRounder
302302 explicit FeeFilterRounder (const CFeeRate& min_incremental_fee);
303303
304304 /* * Quantize a minimum fee for privacy purpose before broadcast. */
305- CAmount round (CAmount currentMinFee);
305+ CAmount round (CAmount currentMinFee) EXCLUSIVE_LOCKS_REQUIRED(!m_insecure_rand_mutex) ;
306306
307307private:
308308 const std::set<double > m_fee_set;
You can’t perform that action at this time.
0 commit comments