mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
sendtomainchain_pak: Fix minimum send amount message
This commit is contained in:
parent
5b2fe5563b
commit
3fa6c9ca3a
1 changed files with 1 additions and 1 deletions
|
|
@ -5212,7 +5212,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