diff --git a/src/common/pixkey.ts b/src/common/pixkey.ts index 35b9c0558..2af347366 100644 --- a/src/common/pixkey.ts +++ b/src/common/pixkey.ts @@ -28,7 +28,7 @@ export const formatPixKey = (pixkey: string): [boolean, string] => { return [true, pixkey] } - // formated cnpj + // formatted cnpj if (pixkey.length === 18) { if (!/^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/.test(pixkey)) { return [false, 'invalid pixkey'] @@ -55,16 +55,16 @@ export const formatPixKey = (pixkey: string): [boolean, string] => { return [false, 'invalid pixkey'] } - // cnpj or formated cpf + // cnpj or formatted cpf if (pixkey.length === 14) { - // unformated cnpj + // unformatted cnpj if (/^\d+$/.test(pixkey)) { if (!isCnpj(pixkey)) { return [false, 'invalid pixkey'] } return [true, pixkey] } - // formated cpf + // formatted cpf if (/^\d{3}\.\d{3}\.\d{3}-\d{2}$/.test(pixkey)) { if (!isCpf(pixkey)) { return [false, 'invalid cpf'] @@ -73,7 +73,7 @@ export const formatPixKey = (pixkey: string): [boolean, string] => { } } - // informated cpf or phone without country + // informatted cpf or phone without country if (pixkey.length === 11) { if (!/^\d+$/.test(pixkey)) { return [false, 'invalid pixkey'] @@ -87,7 +87,7 @@ export const formatPixKey = (pixkey: string): [boolean, string] => { return [true, '+55' + pixkey] } - // eigher wrong formated cpf or formated phone number + // eigher wrong formatted cpf or formatted phone number pixkey = pixkey.replace(/[^\d]+/g, '') if (pixkey.length === 12) { if (pixkey.charAt(0) !== '0') { diff --git a/src/ethereum/info/filecoinFevmCalibrationInfo.ts b/src/ethereum/info/filecoinFevmCalibrationInfo.ts index 8fff2c25e..440eaad66 100644 --- a/src/ethereum/info/filecoinFevmCalibrationInfo.ts +++ b/src/ethereum/info/filecoinFevmCalibrationInfo.ts @@ -14,7 +14,7 @@ import { evmCustomFeeTemplate, evmMemoOptions } from './ethereumCommonInfo' const builtinTokens: EdgeTokenMap = { '8c97f94b2cdbf7dc0098057334d9908c4dc0a885': { currencyCode: 'iFIL', - displayName: 'iFIL Inifinity Pool', + displayName: 'iFIL Infinity Pool', denominations: [{ name: 'iFIL', multiplier: '1000000000000000000' }], networkLocation: { contractAddress: '0x8c97F94b2cDbF7Dc0098057334d9908C4dC0a885' diff --git a/src/ethereum/info/filecoinFevmInfo.ts b/src/ethereum/info/filecoinFevmInfo.ts index 7d4610d65..74b7d0a05 100644 --- a/src/ethereum/info/filecoinFevmInfo.ts +++ b/src/ethereum/info/filecoinFevmInfo.ts @@ -14,7 +14,7 @@ import { evmCustomFeeTemplate, evmMemoOptions } from './ethereumCommonInfo' const builtinTokens: EdgeTokenMap = { '690908f7fa93afc040cfbd9fe1ddd2c2668aa0e0': { currencyCode: 'iFIL', - displayName: 'iFIL Inifinity Pool', + displayName: 'iFIL Infinity Pool', denominations: [{ name: 'iFIL', multiplier: '1000000000000000000' }], networkLocation: { contractAddress: '0x690908f7fa93afC040CFbD9fE1dDd2C2668Aa0e0'