From ecc1e5da0c9595dbcb5519f2aaf912580129ad33 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 25 Mar 2022 15:02:08 -0600 Subject: [PATCH] Add missing filter to ensure only fully-transparent transactions end up in mapOrphans. --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index aabd26d2e..3fe983b00 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6850,11 +6850,12 @@ bool static ProcessMessage(const CChainParams& chainparams, CNode* pfrom, string for (uint256 hash : vEraseQueue) EraseOrphanTx(hash); } - // TODO: currently, prohibit joinsplits and shielded spends/outputs from entering mapOrphans + // TODO: currently, prohibit joinsplits and shielded spends/outputs/actions from entering mapOrphans else if (fMissingInputs && tx.vJoinSplit.empty() && tx.vShieldedSpend.empty() && - tx.vShieldedOutput.empty()) + tx.vShieldedOutput.empty() && + !tx.GetOrchardBundle().IsPresent()) { AddOrphanTx(tx, pfrom->GetId());