mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-25 17:14:35 +01:00
Fix the close channels API
This commit is contained in:
committed by
Paul Miller
parent
c014deec84
commit
ff97d59f6c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user