Merge #706: sendtomainchain_pak: Fix minimum send amount message

3fa6c9ca3 sendtomainchain_pak: Fix minimum send amount message (Gregory Sanders)

Pull request description:

Tree-SHA512: 202da1fc4e3df9df13a0188d64bea77e65439780486cb6baacb736518b16116a91961545f02f2234db929d43352d95de878886de44d68db0153b2fb6d7279c6a
This commit is contained in:
Steven Roose 2019-09-11 14:45:32 +01:00
commit 51c4ebbe81
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

View file

@ -5212,7 +5212,7 @@ UniValue sendtomainchain_pak(const JSONRPCRequest& request)
//amount
CAmount nAmount = AmountFromValue(request.params[1]);
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;
if (request.params.size() > 2) {