mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
lightningd: use channel_type, pass to-and-from channeld.
Instead of explicit option_static_remotekey and option_anchor_outputs flags. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
740afb822c
commit
183fe107e8
@@ -705,7 +705,7 @@ enum watch_result onchaind_funding_spent(struct channel *channel,
|
||||
&channel->channel_info.remote_fundingkey,
|
||||
channel->static_remotekey_start[LOCAL],
|
||||
channel->static_remotekey_start[REMOTE],
|
||||
channel->option_anchor_outputs,
|
||||
channel_has(channel, OPT_ANCHOR_OUTPUTS),
|
||||
is_replay,
|
||||
feerate_min(ld, NULL));
|
||||
subd_send_msg(channel->owner, take(msg));
|
||||
|
||||
Reference in New Issue
Block a user