Merge pull request #8117 from ellemouton/removeDBFromChannelDBSchemas

channeldb+refactor: remove `kvdb.Backend` from channel DB schemas
This commit is contained in:
Elle authored and GitHub committed 2023-11-09 07:47:11 +02:00
commit 6122452509
49 files changed
+1437 -1370

No files matched your search

+1 -1
View File
@@ -939,7 +939,7 @@ func (p *Brontide) loadActiveChannels(chans []*channeldb.OpenChannel) (
//
// TODO(roasbeef): can add helper method to get policy for
// particular channel.
var selfPolicy *channeldb.ChannelEdgePolicy
var selfPolicy *models.ChannelEdgePolicy
if info != nil && bytes.Equal(info.NodeKey1Bytes[:],
p.cfg.ServerPubKey[:]) {