getumbrel / umbrel-middleware

RESTful Bitcoin and Lightning API for Umbrel
MIT License
21 stars 11 forks source link

Update LND status check to work with LND v0.13.1 #92

Closed lukechilds closed 3 years ago

lukechilds commented 3 years ago

Based on https://github.com/getumbrel/umbrel-middleware/pull/88 (Thanks @JVillella!).

LND now returns a specific error instead of UNIMPLEMENTED_CODE if the wallet is locked. The old logic would incorrectly report LND as not yet running when instead it's running but not yet unlocked, preventing the unlock method from ever running.