Uppercase Networks enum values

This commit is contained in:
Fabio Berger
2018-01-30 21:01:16 +01:00
parent adc6170f02
commit ecf86d1d13
7 changed files with 22 additions and 22 deletions

View File

@@ -151,7 +151,7 @@ export const utils = {
if (_.isUndefined(networkName)) {
return undefined;
}
const etherScanPrefix = networkName === Networks.mainnet ? '' : `${networkName.toLowerCase()}.`;
const etherScanPrefix = networkName === Networks.Mainnet ? '' : `${networkName.toLowerCase()}.`;
return `https://${etherScanPrefix}etherscan.io/${suffix}/${addressOrTxHash}`;
},
setUrlHash(anchorId: string) {