diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-26 04:32:37 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-26 04:32:37 +0800 |
commit | c5e8bb17635d8710f0db62a8887f990cb6ad482f (patch) | |
tree | 7850c2f522aca88b327a8cdcbe07ce80f1109fc3 /packages/instant/src/util/etherscan.ts | |
parent | acefeff5f08f123c7c5d372088f2af016e31c599 (diff) | |
download | dexon-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/etherscan.ts')
-rw-r--r-- | packages/instant/src/util/etherscan.ts | 4 |
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}`; }, }; |