Merge pull request #8117 from ellemouton/removeDBFromChannelDBSchemas

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

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[:]) {