Browse Source

connectd: fix '~' comment (s/pubkey/node_id/)

Usage of node_id was introduced with commit a2fa699e0e.

Changelog-None
nifty/pset-pre
Sebastian Falbesoner 5 years ago
committed by Christian Decker
parent
commit
84ef0cf7fa
  1. 4
      connectd/connectd.c

4
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;

Loading…
Cancel
Save