txnHash -> txHash
This commit is contained in:
@@ -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}`;
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user