aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-10-26 06:51:05 +0800
committerGitHub <noreply@github.com>2018-10-26 06:51:05 +0800
commit4a96dbe085004be49dbbaa435d4552a9c920d823 (patch)
tree019dfc8d780970cd7ac2c7cfbcdc28d3c3dc5d0f /packages/instant/src/util
parent11bc10a3ae80be178d89ff6c9fbf509a48deef7f (diff)
parent89e59cca28a86763519237ab9c6971600e200b5e (diff)
downloaddexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.gz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.bz2
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.lz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.xz
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.tar.zst
dexon-sol-tools-4a96dbe085004be49dbbaa435d4552a9c920d823.zip
Merge pull request #1184 from 0xProject/feature/instant/view-processings-txn
[instant] View Processing Transaction
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}`;
},
};