false is the default

This commit is contained in:
blackjok3r
2018-11-01 21:36:37 +08:00
parent bc2c46ebd7
commit 39837a7c8c

View File

@@ -1391,7 +1391,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
return false; return false;
} }
} }
if ( fNullifiers == true ) if ( fNullifiers == false )
{ {
BOOST_FOREACH(const JSDescription &joinsplit, tx.vjoinsplit) BOOST_FOREACH(const JSDescription &joinsplit, tx.vjoinsplit)
{ {
@@ -1454,7 +1454,7 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa
} }
} }
// are the joinsplit's requirements met? // are the joinsplit's requirements met?
if ( fNullifiers == true ) if ( fNullifiers == false )
{ {
if (!view.HaveJoinSplitRequirements(tx)) if (!view.HaveJoinSplitRequirements(tx))
{ {