This check done for Sprout and Sapling (which is separate from consensus nullifier checks)

was not being done for Orchard.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-03-31 20:04:43 +01:00
parent a394770ab8
commit f9a703ed51
1 changed files with 1 additions and 0 deletions

View File

@ -652,6 +652,7 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const
checkNullifiers(SPROUT);
checkNullifiers(SAPLING);
checkNullifiers(ORCHARD);
assert(totalTxSize == checkTotal);
assert(innerUsage == cachedInnerUsage);