mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
connectd: fix '~' comment (s/pubkey/node_id/)
Usage of node_id was introduced with commit a2fa699e0e.
Changelog-None
This commit is contained in:
committed by
Christian Decker
parent
7abff309e5
commit
84ef0cf7fa
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user