From 96821bf0894f61d4300fcad736364064ff14e61f Mon Sep 17 00:00:00 2001 From: ismaelsadeeq Date: Thu, 13 Jun 2024 19:09:49 +0100 Subject: [PATCH] bug catch --- src/test/fuzz/policy_estimator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/fuzz/policy_estimator.cpp b/src/test/fuzz/policy_estimator.cpp index a4e1947b9f6e30..b50c8038c4c1e8 100644 --- a/src/test/fuzz/policy_estimator.cpp +++ b/src/test/fuzz/policy_estimator.cpp @@ -73,6 +73,7 @@ FUZZ_TARGET(policy_estimator, .init = initialize_policy_estimator) std::vector txs; txs.reserve(mempool_entries.size()); for (const CTxMemPoolEntry& mempool_entry : mempool_entries) { + CFeeRate(mempool_entry.GetFee(), mempool_entry.GetTxSize()); txs.emplace_back(mempool_entry); } block_policy_estimator.processBlock(txs, fuzzed_data_provider.ConsumeIntegral());