Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
type to number
Browse files Browse the repository at this point in the history
  • Loading branch information
irubido committed Jun 18, 2024
1 parent 3ba7f38 commit 45d6452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snap/src/polkadot/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function getKeyPair(): Promise<KeyringPair> {
return keyring.addFromSeed(stringToU8a(seed));
}

export const getCoinTypeByNetwork = (network: SnapNetworks): 434 | 354 => {
export const getCoinTypeByNetwork = (network: SnapNetworks): number => {
switch (network) {
case 'kusama':
case 'westend':
Expand Down

0 comments on commit 45d6452

Please sign in to comment.