mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
fuzz: remove dangling reference to GetEntry
This commit is contained in:
parent
15b6cbf07f
commit
bc0d98ea61
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
|
||||||
PickValue(fuzzed_data_provider, mempool_outpoints).hash;
|
PickValue(fuzzed_data_provider, mempool_outpoints).hash;
|
||||||
const auto delta = fuzzed_data_provider.ConsumeIntegralInRange<CAmount>(-50 * COIN, +50 * COIN);
|
const auto delta = fuzzed_data_provider.ConsumeIntegralInRange<CAmount>(-50 * COIN, +50 * COIN);
|
||||||
// We only prioritise out of mempool transactions since PrioritiseTransaction doesn't
|
// We only prioritise out of mempool transactions since PrioritiseTransaction doesn't
|
||||||
// filter for ephemeral dust GetEntry
|
// filter for ephemeral dust
|
||||||
if (tx_pool.exists(GenTxid::Txid(txid))) {
|
if (tx_pool.exists(GenTxid::Txid(txid))) {
|
||||||
const auto tx_info{tx_pool.info(GenTxid::Txid(txid))};
|
const auto tx_info{tx_pool.info(GenTxid::Txid(txid))};
|
||||||
if (GetDust(*tx_info.tx, tx_pool.m_opts.dust_relay_feerate).empty()) {
|
if (GetDust(*tx_info.tx, tx_pool.m_opts.dust_relay_feerate).empty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue