multi: refresh htlcswitch aliases on aliasmgr update

This commit is contained in:
George Tsagkarelis authored and Oliver Gugger committed 2024-09-05 08:44:32 +02:00
1 parent e31cdc4db3
commit ea92d0aecc
8 files changed
+152 -20

No files matched your search

+2 -1
View File
@@ -370,7 +370,7 @@ type Config struct {
// AddLocalAlias persists an alias to an underlying alias store.
AddLocalAlias func(alias, base lnwire.ShortChannelID,
gossip bool) error
gossip, liveUpdate bool) error
// AuxLeafStore is an optional store that can be used to store auxiliary
// leaves for certain custom channel types.
@@ -912,6 +912,7 @@ func (p *Brontide) loadActiveChannels(chans []*channeldb.OpenChannel) (
err = p.cfg.AddLocalAlias(
aliasScid, dbChan.ShortChanID(), false,
false,
)
if err != nil {
return nil, err