Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7abff30 commit 84ef0cfCopy full SHA for 84ef0cf
1 file changed
connectd/connectd.c
@@ -254,11 +254,11 @@ static struct connecting *find_connecting(struct daemon *daemon,
254
{
255
struct connecting *i;
256
257
- /*~ Note the pubkey_eq function: this is generally preferred over
+ /*~ Note the node_id_eq function: this is generally preferred over
258
* doing a memcmp() manually, as it is both typesafe and can handle
259
* any padding which the C compiler is allowed to insert between
260
* members (unnecessary here, as there's no padding in a `struct
261
- * pubkey`). */
+ * node_id`). */
262
list_for_each(&daemon->connecting, i, list)
263
if (node_id_eq(id, &i->id))
264
return i;
0 commit comments