sendtomainchain_pak: Fix minimum send amount message

This commit is contained in:
Gregory Sanders 2019-09-11 09:27:53 -04:00 committed by Steven Roose
parent eed409ad55
commit 817ebcd073
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

View file

@ -5207,7 +5207,7 @@ UniValue sendtomainchain_pak(const JSONRPCRequest& request)
//amount //amount
CAmount nAmount = AmountFromValue(request.params[1]); CAmount nAmount = AmountFromValue(request.params[1]);
if (nAmount < 100000) if (nAmount < 100000)
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid amount for send, must send more than 0.0001 BTC"); throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid amount for send, must send more than 0.00100000 BTC");
bool subtract_fee = false; bool subtract_fee = false;
if (request.params.size() > 2) { if (request.params.size() > 2) {