mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-04 01:53:59 +01:00
fix issue #452
This commit is contained in:
parent
32ea1106f9
commit
17b13bb652
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ async def btc_price(currency: str) -> float:
|
|||
|
||||
|
||||
async def get_fiat_rate_satoshis(currency: str) -> float:
|
||||
return int(100_000_000 / (await btc_price(currency)))
|
||||
return float(100_000_000 / (await btc_price(currency)))
|
||||
|
||||
|
||||
async def fiat_amount_as_satoshis(amount: float, currency: str) -> int:
|
||||
|
|
Loading…
Add table
Reference in a new issue