diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-09 16:17:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 16:17:37 +0800 |
commit | 06a70e75aa833d93158b14c3711d61c06609742d (patch) | |
tree | ce402b2bf24c8041824f0b54e285e73572eb56ed | |
parent | dbec2fecf639ff1b31ef4ba3025fde835358ece4 (diff) | |
parent | ab40123768a3376bd2b36bd0d85a8e476b89dc10 (diff) | |
download | dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar.gz dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar.bz2 dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar.lz dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar.xz dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.tar.zst dexon-sol-tools-06a70e75aa833d93158b14c3711d61c06609742d.zip |
Merge branch 'master' into schemas
-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 4dc6945a2..d93ac71f7 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`, |