From 84ef0cf7fa5e3af99fd7721c062a59467828104c Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Sun, 3 May 2020 22:57:34 +0200 Subject: [PATCH] connectd: fix '~' comment (s/pubkey/node_id/) Usage of node_id was introduced with commit a2fa699e0e. Changelog-None --- connectd/connectd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectd/connectd.c b/connectd/connectd.c index c228bdc04..7c730e5ad 100644 --- a/connectd/connectd.c +++ b/connectd/connectd.c @@ -254,11 +254,11 @@ static struct connecting *find_connecting(struct daemon *daemon, { struct connecting *i; - /*~ Note the pubkey_eq function: this is generally preferred over + /*~ Note the node_id_eq function: this is generally preferred over * doing a memcmp() manually, as it is both typesafe and can handle * any padding which the C compiler is allowed to insert between * members (unnecessary here, as there's no padding in a `struct - * pubkey`). */ + * node_id`). */ list_for_each(&daemon->connecting, i, list) if (node_id_eq(id, &i->id)) return i;