txnHash -> txHash

This commit is contained in:
Steve Klebanoff
2018-10-25 13:32:37 -07:00
parent acefeff5f0
commit c5e8bb1763
5 changed files with 22 additions and 22 deletions

View File

@@ -14,11 +14,11 @@ const etherscanPrefix = (networkId: number): string | undefined => {
};
export const etherscanUtil = {
getEtherScanTxnAddressIfExists: (txnHash: string, networkId: number) => {
getEtherScanTxnAddressIfExists: (txHash: string, networkId: number) => {
const prefix = etherscanPrefix(networkId);
if (_.isUndefined(prefix)) {
return;
}
return `https://${prefix}etherscan.io/tx/${txnHash}`;
return `https://${prefix}etherscan.io/tx/${txHash}`;
},
};