mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
sendtomainchain_pak: Fix minimum send amount message
This commit is contained in:
parent
eed409ad55
commit
817ebcd073
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue