From b403b5a838c41aa65612c0f2a1559c0e0fd004a4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 11 Jul 2019 01:43:35 -1100 Subject: [PATCH] Enable --- src/script/sign.cpp | 2 -- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 3a9f658a2..31e4b49fc 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -433,8 +433,6 @@ bool ProduceSignature(const BaseSignatureCreator& creator, const CScript& fromPu } sigdata.scriptSig = PushAll(result); - if ( KOMODO_NSPV != 0 ) - return(solved); // Test solution return solved && VerifyScript(sigdata.scriptSig, fromPubKey, STANDARD_SCRIPT_VERIFY_FLAGS, creator.Checker(), consensusBranchId); } diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 968777b32..a597cc429 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -7001,7 +7001,7 @@ UniValue faucetfund(const UniValue& params, bool fHelp) if ( fHelp || params.size() > 1 ) throw runtime_error("faucetfund amount\n"); funds = atof(params[0].get_str().c_str()) * COIN + 0.00000000499999; - if ( (0) && KOMODO_NSPV != 0 ) + if ( (1) && KOMODO_NSPV != 0 ) { char coinaddr[64]; struct CCcontract_info *cp,C; CTxOut v; cp = CCinit(&C,EVAL_FAUCET);