Since LND is breaking backwards compatibility with the channel type message with potentially no deprecation window, the results of channel type cannot be trusted in a backwards compatible way:
https://github.com/lightningnetwork/lnd/issues/5890
To fix this issue, remove all references to what type of channel a channel is and wait for a future time when there is a reliable signal that can be used
Since LND is breaking backwards compatibility with the channel type message with potentially no deprecation window, the results of channel type cannot be trusted in a backwards compatible way: https://github.com/lightningnetwork/lnd/issues/5890
To fix this issue, remove all references to what type of channel a channel is and wait for a future time when there is a reliable signal that can be used