mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 13:42:10 +02:00
net_processing: Remove redundant porphanTx in ProcessOrphanTx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user