diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-09 16:17:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 16:17:15 +0800 |
commit | 0d4bd7180a2d49326b2c66ad4cf080f65bccbb71 (patch) | |
tree | caad13e0528eafca740fa8bb565c6c2f898414e9 /src/utils | |
parent | 96615749f9f48be11cdaff15307315687820ce5c (diff) | |
parent | ab40123768a3376bd2b36bd0d85a8e476b89dc10 (diff) | |
download | dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar.gz dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar.bz2 dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar.lz dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar.xz dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.tar.zst dexon-sol-tools-0d4bd7180a2d49326b2c66ad4cf080f65bccbb71.zip |
Merge branch 'master' into fillOrderUpToAsync
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/assert.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts index c7c164ee5..2ee87e549 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -29,10 +29,6 @@ export const assert = { async isSenderAddressAsync(variableName: string, senderAddressHex: string, web3Wrapper: Web3Wrapper): Promise<void> { assert.isETHAddressHex(variableName, senderAddressHex); - await assert.isSenderAddressAvailableAsync(web3Wrapper, variableName, senderAddressHex); - }, - async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, variableName: string, - senderAddressHex: string): Promise<void> { const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddressHex); assert.assert(isSenderAddressAvailable, `Specified ${variableName} ${senderAddressHex} isn't available through the supplied web3 instance`, |