Merge pull request #480 from talvasconcelos/issue/452

fix issue #452
This commit is contained in:
Arc 2021-12-30 17:10:10 +00:00 committed by GitHub
commit d5617b9462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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