get_node_alias: allow node_id prefixes for channel backups
This commit is contained in:
@@ -241,7 +241,7 @@ class LNWorker(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
|
||||
node_alias = node_info.alias
|
||||
else:
|
||||
for k, v in hardcoded_trampoline_nodes().items():
|
||||
if v.pubkey == node_id:
|
||||
if v.pubkey.startswith(node_id):
|
||||
node_alias = k
|
||||
break
|
||||
return node_alias
|
||||
|
||||
Reference in New Issue
Block a user