amount to amount_in_cent

This commit is contained in:
benarc 2021-12-22 19:47:29 +00:00
parent a1ae7aca9e
commit 40aadbfec7

View File

@ -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(