mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
bug: channel_update parameters slipped by one
This commit is contained in:
committed by
Rusty Russell
parent
5e1dcea5b8
commit
5c80963577
@@ -224,8 +224,7 @@ static void send_channel_update(struct peer *peer, bool disabled)
|
||||
flags = peer->channel_direction | (disabled << 1);
|
||||
cupdate = towire_channel_update(
|
||||
tmpctx, sig, &peer->short_channel_ids[LOCAL], timestamp, flags,
|
||||
peer->cltv_delta, peer->fee_base, peer->fee_per_satoshi,
|
||||
peer->channel->view[LOCAL].feerate_per_kw);
|
||||
peer->cltv_delta, 1, peer->fee_base, peer->fee_per_satoshi);
|
||||
|
||||
msg = towire_hsm_cupdate_sig_req(tmpctx, cupdate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user