Skip to content

Commit f7d9b02

Browse files
committed
lnrpc: update comment on alias base lookup option
1 parent 6675808 commit f7d9b02

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
@@ -1868,7 +1868,10 @@ func (s *Server) XAddLocalChanAliases(_ context.Context,
18681868
// We set the baseLookup flag as we want the alias
18691869
// manager to keep a mapping from the alias back to its
18701870
// base scid, in order to be able to provide it via the
1871-
// FindBaseLocalChanAlias RPC.
1871+
// FindBaseLocalChanAlias RPC. The baseLookup flag also
1872+
// marks these manually-added aliases as persistent so
1873+
// they'll survive through channel confirmation and
1874+
// restarts.
18721875
err = s.cfg.AliasMgr.AddLocalAlias(
18731876
aliasScid, baseScid, false, true,
18741877
aliasmgr.WithBaseLookup(),

0 commit comments

Comments
 (0)