gossip: Fix concurrent PR merge issue with structeq

PR #1618 in parallel with the migration to macro `structeq` created this.

Fixes #1674
This commit is contained in:
Christian Decker
2018-07-08 15:52:23 +02:00
parent ec55bf3b3f
commit 14c6310a4f

View File

@@ -1699,7 +1699,7 @@ static struct local_update *find_local_update(struct daemon *daemon,
struct local_update *i; struct local_update *i;
list_for_each(&daemon->local_updates, i, list) { list_for_each(&daemon->local_updates, i, list) {
if (structeq(scid, &i->scid)) if (short_channel_id_eq(scid, &i->scid))
return i; return i;
} }
return NULL; return NULL;