diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-09 16:16:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 16:16:57 +0800 |
commit | ab40123768a3376bd2b36bd0d85a8e476b89dc10 (patch) | |
tree | cfc3e0e7bb6d5185f0ab9f9ed89ff25305f1fef0 | |
parent | 743ba29918715e21c7891b3c7426dcb5fdc14e17 (diff) | |
parent | 5706f45c3b0433fe56a2c87e69497b899b53e8fb (diff) | |
download | dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.gz dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.bz2 dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.lz dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.xz dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.zst dexon-sol-tools-ab40123768a3376bd2b36bd0d85a8e476b89dc10.zip |
Merge pull request #51 from 0xProject/sender-account-assert
Remove isSenderAddressAvailableAsync
-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`, |