Add Blink backend (#433)

* wip blink

* Blink working

* check fee correctly

* add comment

* unfix lnbits

* unit test blink backend

* make format

* mypy

* settings

* add error if blink key not set
This commit is contained in:
callebtc
2024-02-17 20:51:37 +01:00
committed by GitHub
parent 94db0fc4c6
commit c285d48edf
9 changed files with 510 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ class LNbitsWallet(LightningBackend):
except Exception:
return StatusResponse(
error_message=(
f"Failed to connect to {self.endpoint}, got: '{r.text[:200]}...'"
f"Received invalid response from {self.endpoint}: {r.text}"
),
balance=0,
)