From 45d6452b65e167bedf94933ed34c78760f9ae6ea Mon Sep 17 00:00:00 2001 From: irubido Date: Tue, 18 Jun 2024 12:55:33 +0200 Subject: [PATCH] type to number --- packages/snap/src/polkadot/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/snap/src/polkadot/account.ts b/packages/snap/src/polkadot/account.ts index 3f4c0c56..2966329c 100644 --- a/packages/snap/src/polkadot/account.ts +++ b/packages/snap/src/polkadot/account.ts @@ -26,7 +26,7 @@ export async function getKeyPair(): Promise { return keyring.addFromSeed(stringToU8a(seed)); } -export const getCoinTypeByNetwork = (network: SnapNetworks): 434 | 354 => { +export const getCoinTypeByNetwork = (network: SnapNetworks): number => { switch (network) { case 'kusama': case 'westend':