Skip to content

Commit

Permalink
fixup! pay: Base the CLTV calculations on the networkheight
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Mar 31, 2024
1 parent f66c05c commit 87a1474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/libplugin-pay.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ payment_getblockheight_success(struct command *cmd, const char *buffer,
if (err) {
plugin_err(cmd->plugin, "error calling waitblockheight: %s",
err);
} else if (cmd) {
plugin_log(cmd->plugin, LOG_DBG,
"waitblockheight reports blockheight=%d and "
"networkblockheight=%d",
blockheight, networkheight);
}
plugin_log(
cmd->plugin, LOG_DBG,
Expand Down

0 comments on commit 87a1474

Please sign in to comment.