Happened to a node operator, had a channel with a node which is basically a wallet (is always offline except when receiving or sending money) it happened that both channel policies for this channel where disabled and now the channel will not be added to our GraphCache and hence becomes unusable. I therefore highly suggest always adding our local channels to the GraphCache:
Relevant code:
|
if policy1 != nil && policy1.IsDisabled() && |
|
policy2 != nil && policy2.IsDisabled() { |
|
|
|
return |
|
} |