Skip to content

Commit

Permalink
fixup! pay: Log the invoice we are about to pay
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Aug 7, 2024
1 parent bc7e939 commit 834997c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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 @@ -188,7 +188,7 @@ paymod_log_header(struct payment *p, const char **type, u64 *id)
}
}

static void
void
paymod_log(struct payment *p, enum log_level l, const char *fmt, ...)
{
const char *type;
Expand Down
3 changes: 3 additions & 0 deletions plugins/libplugin-pay.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,7 @@ void json_add_payment_success(struct json_stream *js,
/* Overriding io_poll for extra checks. */
int libplugin_pay_poll(struct pollfd *fds, nfds_t nfds, int timeout);

void
paymod_log(struct payment *p, enum log_level l, const char *fmt, ...);

#endif /* LIGHTNING_PLUGINS_LIBPLUGIN_PAY_H */

0 comments on commit 834997c

Please sign in to comment.