Skip to content

Commit

Permalink
fix: only sign coop claims for submarine swaps
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Dec 11, 2024
1 parent 04a5a27 commit 294c7b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/SwapChecker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 294c7b3

Please sign in to comment.