mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +02:00
amount to amount_in_cent
This commit is contained in:
@@ -107,7 +107,7 @@ async def handle_lnurl_firstrequest(
|
|||||||
price_msat = (
|
price_msat = (
|
||||||
await fiat_amount_as_satoshis(float(amount_in_cent) / 100, pos.currency)
|
await fiat_amount_as_satoshis(float(amount_in_cent) / 100, pos.currency)
|
||||||
if pos.currency != "sat"
|
if pos.currency != "sat"
|
||||||
else amount
|
else amount_in_cent
|
||||||
) * 1000
|
) * 1000
|
||||||
|
|
||||||
lnurlpospayment = await create_lnurlpospayment(
|
lnurlpospayment = await create_lnurlpospayment(
|
||||||
|
Reference in New Issue
Block a user