Add missing filter to ensure only fully-transparent transactions end up in mapOrphans.
This commit is contained in:
parent
9f4e5ef2cc
commit
ecc1e5da0c
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue