From 5c111d5a8f06cb14889efec47f35e79ef1e5282b Mon Sep 17 00:00:00 2001 From: Martin Saldinger Date: Thu, 5 Dec 2024 14:56:45 +0100 Subject: [PATCH] remove ATOM testnet token as it's no longer supported --- src/integrations/fb_signer.ts | 1 - src/services/atom.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/integrations/fb_signer.ts b/src/integrations/fb_signer.ts index 83fd734..e0674e3 100644 --- a/src/integrations/fb_signer.ts +++ b/src/integrations/fb_signer.ts @@ -18,7 +18,6 @@ export type AssetId = | "ETH_TEST5" | "ETH_TEST6" | "ETH" - | "ATOM_COS_TEST" | "ATOM_COS" | "OSMO_TEST" | "OSMO" diff --git a/src/services/atom.ts b/src/services/atom.ts index 81fd763..fd77ced 100644 --- a/src/services/atom.ts +++ b/src/services/atom.ts @@ -139,7 +139,7 @@ export class AtomService extends Service { }; const fbNote = note ? note : "ATOM tx from @kilnfi/sdk"; const signer = this.getFbSigner(integration); - const fbTx = await signer.sign(payload, this.testnet ? "ATOM_COS_TEST" : "ATOM_COS", fbNote); + const fbTx = await signer.sign(payload, "ATOM_COS", fbNote); const signature: string = fbTx.signedMessages![0].signature.fullSig; const { data } = await api.post(`/v1/atom/transaction/prepare`, { pubkey: tx.data.pubkey,