Skip to content

Commit

Permalink
fixup: short_channel_id_dir_eq collision
Browse files Browse the repository at this point in the history
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
  • Loading branch information
Lagrang3 committed Aug 8, 2024
1 parent 1a841aa commit 958534b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/renepay/disabledmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ self_scidd(const struct short_channel_id_dir *self)
}

static inline bool
short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a,
const struct short_channel_id_dir scidd_b)
my_short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a,
const struct short_channel_id_dir scidd_b)
{
return short_channel_id_eq(scidd_a->scid, scidd_b.scid) &&
scidd_a->dir == scidd_b.dir;
Expand All @@ -32,7 +32,7 @@ short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a,
/* A htable for short_channel_id_dir, the structure itself is the element key.
*/
HTABLE_DEFINE_TYPE(struct short_channel_id_dir, self_scidd, hash_scidd,
short_channel_id_dir_eq, scidd_map);
my_short_channel_id_dir_eq, scidd_map);

struct disabledmap {
/* Channels we decided to disable for various reasons. */
Expand Down

0 comments on commit 958534b

Please sign in to comment.