X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=c434e7ac3b8bdc1a2582e123aee3ad273b6e3644;hp=cdc33c187772c46c7a62653cdfa25498da113534;hb=9a452adf035d90d341142ed0a164b4e716cdbe84;hpb=74f060294123687538cb85e7a639e79f93d31671 diff --git a/src/main.cpp b/src/main.cpp index cdc33c1..c434e7a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -311,7 +311,7 @@ bool CTransaction::IsStandard() const return false; if (!txin.scriptSig.IsPushOnly()) return false; - if (fEnforceCanonical && !txin.scriptSig.HasCanonicalPushes()) { + if (!txin.scriptSig.HasCanonicalPushes()) { return false; } } @@ -325,7 +325,7 @@ bool CTransaction::IsStandard() const if (txout.nValue == 0) { return false; } - if (fEnforceCanonical && !txout.scriptPubKey.HasCanonicalPushes()) { + if (!txout.scriptPubKey.HasCanonicalPushes()) { return false; } }