lnurlpos v2 lnurl endpoint.

compatible with the phone app and updated device.
This commit is contained in:
fiatjaf
2021-12-14 17:00:20 -03:00
parent 1609280f53
commit 09990450b7
5 changed files with 88 additions and 45 deletions
+1
View File
@@ -253,6 +253,7 @@ async def btc_price(currency: str) -> float:
await send_channel.put(rate)
except (
TypeError, # CoinMate returns HTTPStatus 200 but no data when a currency pair is not found
KeyError, # Kraken's response dictionary doesn't include keys we look up for
httpx.ConnectTimeout,
httpx.ConnectError,
httpx.ReadTimeout,