Sync with paritytech/ss58-registry (#1138)

* Sync with paritytech/ss58-registry

* Since registry location

* Adjust defaults with json location

* Adjust

* Adjust comments

* prefix 42
This commit is contained in:
Jaco
2021-10-23 12:34:53 +03:00
committed by GitHub
parent 6982380aff
commit 2cdaf71c4b
8 changed files with 68 additions and 28 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export const allNetworks = knownSubstrate.map((o): SubstrateNetwork => {
n.genesisHash = knownGenesis[network] || [];
n.icon = knownIcon[network] || 'substrate';
n.isIgnored = !network || !!knownTestnet[network] || !o.standardAccount;
n.isIgnored = !!knownTestnet[network] || (!(o.standardAccount && o.decimals && o.symbols) && o.prefix !== 42);
return n;
});