From: alex Date: Fri, 19 Feb 2016 17:59:20 +0000 (+0300) Subject: Allow PUBKEY_DROP inputs on testnet X-Git-Tag: nvc-v0.5.6~65^2~2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=c0f91b3005a8dbc0663c8ec118b5a488bae8f16c Allow PUBKEY_DROP inputs on testnet --- diff --git a/src/script.cpp b/src/script.cpp index e8bfab5..90be3eb 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1195,7 +1195,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector SMALLDATA_SWITCH_TIME) + if (fTestNet || GetTime() > SMALLDATA_SWITCH_TIME) { // Malleable pubkey tx hack, sender provides generated pubkey combined with R parameter. The R parameter is dropped before checking a signature. mTemplates.insert(make_pair(TX_PUBKEY_DROP, CScript() << OP_PUBKEY << OP_PUBKEY << OP_DROP << OP_CHECKSIG));