aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:49:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:49:56 +0800
commit6d4cb28b9d08df574e7f335196dfdd82f02a74c3 (patch)
treed496b61fc48c592ce71e3fb52866a9dc46128a4c /src/utils
parent0d4bd7180a2d49326b2c66ad4cf080f65bccbb71 (diff)
downloaddexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.gz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.bz2
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.lz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.xz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.zst
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.zip
Address feedback
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts
index 2ee87e549..94b119d5a 100644
--- a/src/utils/assert.ts
+++ b/src/utils/assert.ts
@@ -38,7 +38,7 @@ export const assert = {
const availableAddresses = await web3Wrapper.getAvailableAddressesAsync();
this.assert(!_.isEmpty(availableAddresses), 'No addresses were available on the provided web3 instance');
},
- hashAtMostOneUniqueValue(value: any[], errMsg: string): void {
+ hasAtMostOneUniqueValue(value: any[], errMsg: string): void {
this.assert(_.uniq(value).length <= 1, errMsg);
},
isNumber(variableName: string, value: number): void {