This commit is contained in:
ben 2023-01-09 11:01:15 +00:00
parent cf03ae0a5f
commit 96ed9192a3

View File

@ -199,7 +199,9 @@ async def api_address_create(
if domain.currency == "Satoshis":
price_in_sats = domain.amount
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:
payment_hash, payment_request = await create_invoice(