This is a tricky one because some LNDHub backends do support on-chain functionality.

Reply to this note

Please Login to reply.

Discussion

Ah okay maybe lndhub itself needs an update that will pass a boolean value whether the wallet enables on chain or not๐Ÿค”

Got a workaround for now. We maintain a list of hosts/patterns to identify which backends donโ€™t support it.

LNDHub protocol is a mess. Crazy how so many people have built upon it and implement things in different ways.

Maybe just hide the button if the value is NaN? ๐Ÿค”