Skip to content

Commit 4abd69b

Browse files
committed
lnrpc: update comment on alias base lookup option
1 parent 08ee827 commit 4abd69b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lnrpc/routerrpc/router_server.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,10 @@ func (s *Server) XAddLocalChanAliases(_ context.Context,
17161716
// We set the baseLookup flag as we want the alias
17171717
// manager to keep a mapping from the alias back to its
17181718
// base scid, in order to be able to provide it via the
1719-
// FindBaseLocalChanAlias RPC.
1719+
// FindBaseLocalChanAlias RPC. The baseLookup flag also
1720+
// marks these manually-added aliases as persistent so
1721+
// they'll survive through channel confirmation and
1722+
// restarts.
17201723
err = s.cfg.AliasMgr.AddLocalAlias(
17211724
aliasScid, baseScid, false, true,
17221725
aliasmgr.WithBaseLookup(),

0 commit comments

Comments
 (0)