aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-26 04:32:37 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-26 04:32:37 +0800
commitc5e8bb17635d8710f0db62a8887f990cb6ad482f (patch)
tree7850c2f522aca88b327a8cdcbe07ce80f1109fc3 /packages/instant/src/util
parentacefeff5f08f123c7c5d372088f2af016e31c599 (diff)
downloaddexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar.gz
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar.bz2
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar.lz
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar.xz
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.tar.zst
dexon-sol-tools-c5e8bb17635d8710f0db62a8887f990cb6ad482f.zip
txnHash -> txHash
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/etherscan.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/etherscan.ts b/packages/instant/src/util/etherscan.ts
index ffb08a382..cfc2578a3 100644
--- a/packages/instant/src/util/etherscan.ts
+++ b/packages/instant/src/util/etherscan.ts
@@ -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}`;
},
};