mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
lightningd: fix funding_locked in channel_opened notification.
Previously, "funding_locked" was always "true"! (It's actually been wrong since its introduction in v0.7.3!) Changelog-Fixed: Plugins: `channel_opened` notification `funding_locked` field is now accurate: was always `true`. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1631,7 +1631,7 @@ static void handle_peer_tx_sigs_sent(struct subd *dualopend,
|
||||
&channel->peer->id,
|
||||
&channel->funding_sats,
|
||||
&channel->funding.txid,
|
||||
&channel->remote_funding_locked);
|
||||
channel->remote_funding_locked);
|
||||
|
||||
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #2
|
||||
* The receiving node: ...
|
||||
@@ -1997,7 +1997,7 @@ static void handle_peer_tx_sigs_msg(struct subd *dualopend,
|
||||
&channel->peer->id,
|
||||
&channel->funding_sats,
|
||||
&channel->funding.txid,
|
||||
&channel->remote_funding_locked);
|
||||
channel->remote_funding_locked);
|
||||
|
||||
/* BOLT-f53ca2301232db780843e894f55d95d512f297f9 #2
|
||||
* The receiving node: ...
|
||||
|
||||
Reference in New Issue
Block a user