mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01: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 = (
|
||||
await fiat_amount_as_satoshis(float(amount_in_cent) / 100, pos.currency)
|
||||
if pos.currency != "sat"
|
||||
else amount
|
||||
else amount_in_cent
|
||||
) * 1000
|
||||
|
||||
lnurlpospayment = await create_lnurlpospayment(
|
||||
|
Loading…
Reference in New Issue
Block a user