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

@@ -85,7 +85,7 @@ FUZZ_TARGET(policy_estimator, .init = initialize_policy_estimator)
block_policy_estimator.processBlock(txs, current_height);
},
[&] {
(void)block_policy_estimator.removeTx(ConsumeUInt256(fuzzed_data_provider));
(void)block_policy_estimator.removeTx(Txid::FromUint256(ConsumeUInt256(fuzzed_data_provider)));
},
[&] {
block_policy_estimator.FlushUnconfirmed();