mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 20:36:16 +02:00
Change minWithdrawable from 1 msat to 1000 msats for the lnurl_full_withdraw
1 msat is fractional and thus unacceptable anyway. Also, when withdrawing from lnbits itself, this interferes with the input form to expect fractional 1.001 steps
This commit is contained in:
@@ -129,7 +129,7 @@ async def lnurl_full_withdraw():
|
|||||||
_external=True,
|
_external=True,
|
||||||
),
|
),
|
||||||
"k1": "0",
|
"k1": "0",
|
||||||
"minWithdrawable": 1 if wallet.withdrawable_balance else 0,
|
"minWithdrawable": 1000 if wallet.withdrawable_balance else 0,
|
||||||
"maxWithdrawable": wallet.withdrawable_balance,
|
"maxWithdrawable": wallet.withdrawable_balance,
|
||||||
"defaultDescription": f"{LNBITS_SITE_TITLE} balance withdraw from {wallet.id[0:5]}",
|
"defaultDescription": f"{LNBITS_SITE_TITLE} balance withdraw from {wallet.id[0:5]}",
|
||||||
"balanceCheck": url_for(
|
"balanceCheck": url_for(
|
||||||
|
Reference in New Issue
Block a user