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);