mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
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:
commit
51c4ebbe81
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue