Closed robertclarkson closed 1 year ago
Updated the isValidNodeAddress
function in lightning-custodian-wallet
. It's now calling /getinfobolt
api call to the hub. If this returns with a right response we know this is a bolt hub.
You will have to rebuild the hub on your server as I added a new api call on the hub.
If someone tries to connect an lndhub it currently allows it and then the app wallet is in a broken half working state.
Prevent lndhub:// URLs from working with handy error message directing them to the bolt hub docker github