mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-25 08:11:20 +02:00
amount to amount_in_cent
This commit is contained in:
parent
a1ae7aca9e
commit
40aadbfec7
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user