Fix the close channels API

This commit is contained in:
Tony Giorgio
2023-06-26 10:44:46 -05:00
committed by Paul Miller
parent c014deec84
commit ff97d59f6c

View File

@@ -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);