Fix comment

We switched testnet to follow standard rules in zcash/zcash#1604, in
order to find bugs such as the one fixed in the previous commit.
This commit is contained in:
Jack Grigg 2021-10-06 13:05:40 +00:00
parent a165733372
commit eb85b06c5a
1 changed files with 1 additions and 1 deletions

View File

@ -1787,7 +1787,7 @@ bool AcceptToMemoryPool(
if (tx.IsCoinBase())
return state.DoS(100, false, REJECT_INVALID, "coinbase");
// Rather not work on nonstandard transactions (unless -testnet/-regtest)
// Rather not work on nonstandard transactions (unless -regtest)
string reason;
if (chainparams.RequireStandard() && !IsStandardTx(tx, reason, chainparams, nextBlockHeight))
return state.DoS(0, false, REJECT_NONSTANDARD, reason);