mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
irc: Announce the real expiry time
So far we've been announcing the locktime instead of the min_expiry the node requires, this results in routes having wrong expiries.
This commit is contained in:
parent
48da22ab4b
commit
94fd82dc81
@ -44,7 +44,7 @@ static bool announce_channel(const tal_t *ctx, struct ircstate *state, struct pe
|
||||
loc->index,
|
||||
state->dstate->config.fee_base,
|
||||
state->dstate->config.fee_per_satoshi,
|
||||
p->remote.locktime.locktime
|
||||
state->dstate->config.min_htlc_expiry
|
||||
);
|
||||
sign_privmsg(state, msg);
|
||||
irc_send_msg(state, msg);
|
||||
|
Loading…
Reference in New Issue
Block a user