From 294c7b3e58a686e4eda3c37595a810ab5bf5c1ad Mon Sep 17 00:00:00 2001 From: michael1011 Date: Wed, 11 Dec 2024 16:02:52 +0100 Subject: [PATCH] fix: only sign coop claims for submarine swaps --- src/components/SwapChecker.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/SwapChecker.tsx b/src/components/SwapChecker.tsx index 83a022ef..17aec507 100644 --- a/src/components/SwapChecker.tsx +++ b/src/components/SwapChecker.tsx @@ -264,7 +264,10 @@ export const SwapChecker = () => { log.warn(msg, e); notify("error", msg); } - } else if (data.status === swapStatusPending.TransactionClaimPending) { + } else if ( + currentSwap.type === SwapType.Submarine && + swapStatusPending.TransactionClaimPending + ) { try { await createSubmarineSignature(currentSwap as SubmarineSwap); notify(