Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix Etherscan links in Regsitry
Browse files Browse the repository at this point in the history
  • Loading branch information
ngotchac committed Mar 21, 2017
1 parent f577322 commit 52c81fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/dapps/registry/util/etherscan-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const etherscanUrl = (hash, isTestnet, netVersion) => {
hash = hash.toLowerCase().replace(leading0x, '');
const type = hash.length === 40 ? 'address' : 'tx';

return `https://${externalUrl(isTestnet, netVersion)}/${type}/0x${hash}`;
return `${externalUrl(isTestnet, netVersion)}/${type}/0x${hash}`;
};

export default etherscanUrl;

0 comments on commit 52c81fe

Please sign in to comment.