mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
gossip: save alias from node_announcement
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ced572b973
commit
784ec96841
@ -934,6 +934,8 @@ void handle_node_announcement(
|
||||
node->last_timestamp = timestamp;
|
||||
|
||||
memcpy(node->rgb_color, rgb_color, 3);
|
||||
tal_free(node->alias);
|
||||
node->alias = tal_dup_arr(node, u8, alias, 32, 0);
|
||||
|
||||
u8 *tag = tal_arr(tmpctx, u8, 0);
|
||||
towire_pubkey(&tag, &node_id);
|
||||
|
Loading…
Reference in New Issue
Block a user