mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
channeld: code to send wrong_funding if lightningd says to.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1647,7 +1647,8 @@ static struct command_result *json_close(struct command *cmd,
|
||||
} else
|
||||
msg = towire_channeld_send_shutdown(
|
||||
NULL,
|
||||
channel->shutdown_scriptpubkey[LOCAL]);
|
||||
channel->shutdown_scriptpubkey[LOCAL],
|
||||
channel->shutdown_wrong_funding);
|
||||
subd_send_msg(channel->owner, take(msg));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user