mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 20:42:32 +02:00
format
This commit is contained in:
@@ -199,7 +199,9 @@ async def api_address_create(
|
|||||||
if domain.currency == "Satoshis":
|
if domain.currency == "Satoshis":
|
||||||
price_in_sats = domain.amount
|
price_in_sats = domain.amount
|
||||||
else:
|
else:
|
||||||
price_in_sats = await fiat_amount_as_satoshis(domain.amount / 100, domain.currency)
|
price_in_sats = await fiat_amount_as_satoshis(
|
||||||
|
domain.amount / 100, domain.currency
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
payment_hash, payment_request = await create_invoice(
|
payment_hash, payment_request = await create_invoice(
|
||||||
|
Reference in New Issue
Block a user