Skip to content

Commit

Permalink
gossip: Fix concurrent PR merge issue with structeq
Browse files Browse the repository at this point in the history
PR ElementsProject#1618 in parallel with the migration to macro `structeq` created this.

Fixes ElementsProject#1674
  • Loading branch information
cdecker committed Jul 8, 2018
1 parent ec55bf3 commit 14c6310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossipd/gossip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ static struct local_update *find_local_update(struct daemon *daemon,
struct local_update *i;

list_for_each(&daemon->local_updates, i, list) {
if (structeq(scid, &i->scid))
if (short_channel_id_eq(scid, &i->scid))
return i;
}
return NULL;
Expand Down

0 comments on commit 14c6310

Please sign in to comment.