Return MAX_PRIORITY when transactions contain an Orchard bundle.
This commit is contained in:
parent
dada8b38bc
commit
14f06f9f06
|
@ -1115,7 +1115,11 @@ double CCoinsViewCache::GetPriority(const CTransaction &tx, int nHeight) const
|
||||||
// use the maximum priority for all (partially or fully) shielded transactions.
|
// use the maximum priority for all (partially or fully) shielded transactions.
|
||||||
// (Note that coinbase transactions cannot contain JoinSplits, or Sapling shielded Spends or Outputs.)
|
// (Note that coinbase transactions cannot contain JoinSplits, or Sapling shielded Spends or Outputs.)
|
||||||
|
|
||||||
if (tx.vJoinSplit.size() > 0 || tx.vShieldedSpend.size() > 0 || tx.vShieldedOutput.size() > 0) {
|
if (tx.vJoinSplit.size() > 0 ||
|
||||||
|
tx.vShieldedSpend.size() > 0 ||
|
||||||
|
tx.vShieldedOutput.size() > 0 ||
|
||||||
|
tx.GetOrchardBundle().IsPresent())
|
||||||
|
{
|
||||||
return MAX_PRIORITY;
|
return MAX_PRIORITY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue