mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
irc: Added alias handling for node announcements
Aliases seem to be popular among users wanting to show off their node, so let's add them :-)
This commit is contained in:
@@ -65,6 +65,7 @@ struct node *new_node(struct lightningd_state *dstate,
|
||||
n->in = tal_arr(n, struct node_connection *, 0);
|
||||
n->out = tal_arr(n, struct node_connection *, 0);
|
||||
n->port = 0;
|
||||
n->alias = NULL;
|
||||
node_map_add(dstate->nodes, n);
|
||||
tal_add_destructor(n, destroy_node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user