mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-13 11:35:56 +01:00
format
This commit is contained in:
parent
cf03ae0a5f
commit
96ed9192a3
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue