This commit is contained in:
jl777
2019-07-11 01:43:35 -11:00
parent 2a771477ce
commit b403b5a838
2 changed files with 1 additions and 3 deletions

View File

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

View File

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