From c0f91b3005a8dbc0663c8ec118b5a488bae8f16c Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 19 Feb 2016 20:59:20 +0300 Subject: [PATCH] Allow PUBKEY_DROP inputs on testnet --- src/script.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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)); -- 1.7.1