aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/utils/assert.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts/utils/assert.ts')
-rw-r--r--src/ts/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ts/utils/assert.ts b/src/ts/utils/assert.ts
index 58182dac0..509590ee6 100644
--- a/src/ts/utils/assert.ts
+++ b/src/ts/utils/assert.ts
@@ -17,7 +17,7 @@ export const assert = {
this.assert(_.isString(value) && HEX_REGEX.test(value),
this.typeAssertionMessage(variableName, 'HexString', value));
},
- isETHAddressHex(variableName: string, value: ETHAddressHex) {
+ isETHAddressHex(variableName: string, value: string) {
const web3 = new Web3();
this.assert(web3.isAddress(value), this.typeAssertionMessage(variableName, 'ETHAddressHex', value));
},