net_processing: Remove redundant porphanTx in ProcessOrphanTx

This commit is contained in:
fanquake
2026-08-14 11:39:25 +01:00
parent c7eacbd45b
commit 0cff3cc518

View File

@@ -3470,8 +3470,6 @@ bool PeerManagerImpl::ProcessOrphanTx(Peer& peer)
AssertLockHeld(g_msgproc_mutex);
LOCK2(::cs_main, m_tx_download_mutex);
CTransactionRef porphanTx = nullptr;
while (CTransactionRef porphanTx = m_txdownloadman.GetTxToReconsider(peer.m_id)) {
const MempoolAcceptResult result = m_chainman.ProcessTransaction(porphanTx);
const TxValidationState& state = result.m_state;