policy, refactor: Convert uint256 to Txid

This commit is contained in:
marcofleon
2025-04-01 15:26:25 +01:00
parent f6c0d1d231
commit d2ecd6815d
8 changed files with 22 additions and 23 deletions

View File

@@ -196,7 +196,7 @@ BOOST_FIXTURE_TEST_CASE(rbf_helper_functions, TestChain100Setup)
entry5_low, entry6_low_prioritised, entry7_high, entry8_high};
CTxMemPool::setEntries empty_set;
const auto unused_txid{GetRandHash()};
const auto unused_txid = Txid::FromUint256(GetRandHash());
// Tests for PaysMoreThanConflicts
// These tests use feerate, not absolute fee.