From ff97d59f6ce972ced1a6ece6563edb7c7d4a5258 Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Mon, 26 Jun 2023 10:44:46 -0500 Subject: [PATCH] Fix the close channels API --- src/components/KitchenSink.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/KitchenSink.tsx b/src/components/KitchenSink.tsx index cd9f6a7..83efa70 100644 --- a/src/components/KitchenSink.tsx +++ b/src/components/KitchenSink.tsx @@ -169,7 +169,9 @@ function ChannelItem(props: { channel: MutinyChannel; network?: Network }) { setConfirmLoading(true); try { await state.mutiny_wallet?.close_channel( - props.channel.outpoint as string + props.channel.outpoint as string, + false, + false ); } catch (e) { console.error(e);