Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84ef0cf

Browse files
theStackcdecker
authored andcommitted
connectd: fix '~' comment (s/pubkey/node_id/)
Usage of node_id was introduced with commit a2fa699. Changelog-None
1 parent 7abff30 commit 84ef0cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

connectd/connectd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ static struct connecting *find_connecting(struct daemon *daemon,
254254
{
255255
struct connecting *i;
256256

257-
/*~ Note the pubkey_eq function: this is generally preferred over
257+
/*~ Note the node_id_eq function: this is generally preferred over
258258
* doing a memcmp() manually, as it is both typesafe and can handle
259259
* any padding which the C compiler is allowed to insert between
260260
* members (unnecessary here, as there's no padding in a `struct
261-
* pubkey`). */
261+
* node_id`). */
262262
list_for_each(&daemon->connecting, i, list)
263263
if (node_id_eq(id, &i->id))
264264
return i;

0 commit comments

Comments
 (0)