Skip to content

Commit

Permalink
fixup! pay: Use the global channel_hint_set and remember across pay…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
cdecker committed Aug 28, 2024
1 parent de58779 commit 788e70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/libplugin-pay.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ static void channel_hints_update(struct payment *p,

if (local) {
hint->local = tal_free(hint->local);
hint->local = tal(NULL, struct local_hint);
hint->local = tal(root->hints, struct local_hint);
hint->local->htlc_budget = *htlc_budget;
}

Expand Down

0 comments on commit 788e70c

Please sign in to comment.