Switch to the new closing_signed negotiation branch
[ldk-sample] / src / cli.rs
index d4d7e9ed4263079d84f3e3e42d1efc269f8f5404..33399b9b5bc66446bdc421e494f2c2337ca97e59 100644 (file)
@@ -712,7 +712,7 @@ fn get_invoice(
 }
 
 fn close_channel(channel_id: [u8; 32], channel_manager: Arc<ChannelManager>) {
-       match channel_manager.close_channel(&channel_id) {
+       match channel_manager.close_channel(&channel_id, None) {
                Ok(()) => println!("EVENT: initiating channel close"),
                Err(e) => println!("ERROR: failed to close channel: {:?}", e),
        }