Skip to content

Commit

Permalink
fixup! askrene: add layers infrastructure.
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyrussell authored and ShahanaFarooqui committed Aug 6, 2024
1 parent 5412eaa commit 9c6d1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/askrene/layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static int canonicalize_node_order(const struct node_id **n1,
{
const struct node_id *tmp;

if (*n1 < *n2)
if ((node_id_cmp(*n1, *n2) < 0)
return 0;
tmp = *n2;
*n2 = *n1;
Expand Down

0 comments on commit 9c6d1fa

Please sign in to comment.