Skip to content

Commit

Permalink
feat(thorswap-swap): remove merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
lpaquet-ledger committed Oct 2, 2024
1 parent 4c97f5d commit c46d1da
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions lib/src/handleErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,9 @@ export function handleErrors(walletAPI: WalletAPIClient<any>, error: any) {
};

const ignoredErrorNames = new Set([
"WrongDeviceForAccount",
"WrongDeviceForAccountPayout",
"WrongDeviceForAccountRefund",
"CancelStepError",
"ConfirmStepError",
"SwapCompleteExchangeError",
"DisconnectedDevice",
"NotEnoughBalance",
"NotEnoughGas",
"CompleteExchangeError",
"TransportStatusError",
"FirmwareOrAppUpdateRequired",
"WrongDeviceForAccount",
"WrongDeviceForAccountPayout",
"WrongDeviceForAccountRefund",
"WrongDeviceForAccount",
"WrongDeviceForAccountPayout",
"WrongDeviceForAccountRefund",
]);

const ignoredMessages = new Set(["User refused"]);
Expand Down

0 comments on commit c46d1da

Please sign in to comment.