Skip to content

[bug]: Always add local channels to the GraphCache even though Policies is disabled #9465

@ziggie1984

Description

@ziggie1984

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:

lnd/graph/db/graph_cache.go

Lines 167 to 171 in f4bf99b

if policy1 != nil && policy1.IsDisabled() &&
policy2 != nil && policy2.IsDisabled() {
return
}

Metadata

Metadata

Assignees

Labels

bugUnintended code behaviourgraphpaymentsRelated to invoices/payments

Type

No type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions