This is a tricky one because some LNDHub backends do support on-chain functionality.
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? ๐ค
