Browse Source

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.
ppa-0.6.1
Christian Decker 8 years ago
parent
commit
94fd82dc81
  1. 2
      daemon/irc_announce.c

2
daemon/irc_announce.c

@ -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…
Cancel
Save