From a5ea3ded38fb380a9e85547e0d27f45ce693aaa0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 11 Sep 2018 05:32:35 -1100 Subject: [PATCH] Test --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 358a62d9d..4fb3f8beb 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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