Skip to content

Commit

Permalink
fuzz: remove unused TransactionsDelta validation interface
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Nov 20, 2024
1 parent 09ce926 commit 4dfdf61
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/test/fuzz/package_eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,6 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
}
}

// Remember all added transactions
std::set<CTransactionRef> added;
auto txr = std::make_shared<TransactionsDelta>(added);
node.validation_signals->RegisterSharedValidationInterface(txr);

auto single_submit = txs.size() == 1;

const auto result_package = WITH_LOCK(::cs_main,
Expand All @@ -339,7 +334,6 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
}

node.validation_signals->SyncWithValidationInterfaceQueue();
node.validation_signals->UnregisterSharedValidationInterface(txr);

CheckMempoolEphemeralInvariants(tx_pool);
}
Expand Down

0 comments on commit 4dfdf61

Please sign in to comment.