Auto merge of #4054 - rex4539:haveshieldedrequirements, r=Eirik0

Rename joinsplit to shielded

Closes https://github.com/zcash/zcash/issues/3550
This commit is contained in:
Homu 2019-07-11 09:45:19 -07:00
commit 984b41422a
1 changed files with 2 additions and 2 deletions

View File

@ -1475,8 +1475,8 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
// are the joinsplits' and sapling spends' requirements met in tx(valid anchors/nullifiers)?
if (!view.HaveShieldedRequirements(tx))
return state.Invalid(error("AcceptToMemoryPool: joinsplit requirements not met"),
REJECT_DUPLICATE, "bad-txns-joinsplit-requirements-not-met");
return state.Invalid(error("AcceptToMemoryPool: shielded requirements not met"),
REJECT_DUPLICATE, "bad-txns-shielded-requirements-not-met");
// Bring the best block into scope
view.GetBestBlock();