This commit is contained in:
jl777
2018-09-11 05:32:35 -11:00
parent e5a5dadb61
commit a5ea3ded38

View File

@@ -5460,7 +5460,7 @@ UniValue gatewaysdeposit(const UniValue& params, bool fHelp)
proof = ParseHex(params[6].get_str());
destpub = ParseHex(params[7].get_str());
amount = atof((char *)params[8].get_str().c_str()) * COIN;
if ( amount <= 0 || numpks <= 0 || claimvout < 0 )
if ( amount <= 0 || claimvout < 0 )
throw runtime_error("invalid param: amount, numpks or claimvout\n");
/*for (i=0; i<numpks; i++)
{