mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-14 12:42:48 +02:00
The ListChannelsWithPoliciesForCachePaginated query was missing the policy version column, causing extractChannelPolicies to hardcode lnwire.GossipVersion1 for that row type. Add cp1.version and cp2.version to the query and use the fetched values instead. |
||
|---|---|---|
| .. | ||
| db | ||
| testdata | ||
| builder.go | ||
| builder_test.go | ||
| errors.go | ||
| interfaces.go | ||
| log.go | ||
| notifications_test.go | ||
| setup_test.go | ||
| stats.go | ||