mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-23 00:04:57 +02:00
multi: refresh htlcswitch aliases on aliasmgr update
This commit is contained in:
committed by
Oliver Gugger
parent
0c95dc2118
commit
4ef68512a9
@@ -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
|
||||
|
Reference in New Issue
Block a user