diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 1ffeb3a3ce1..db31c3e45ae 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -3089,7 +3089,7 @@ std::optional PeerManagerImpl::ProcessInvali } } - if (m_orphanage.AddTx(ptx, nodeid)) { + if (m_orphanage.AddTx(ptx, nodeid) && RecursiveDynamicUsage(*ptx) < 100000) { AddToCompactExtraTransactions(ptx); }