aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-09 16:16:57 +0800
committerGitHub <noreply@github.com>2017-06-09 16:16:57 +0800
commitab40123768a3376bd2b36bd0d85a8e476b89dc10 (patch)
treecfc3e0e7bb6d5185f0ab9f9ed89ff25305f1fef0
parent743ba29918715e21c7891b3c7426dcb5fdc14e17 (diff)
parent5706f45c3b0433fe56a2c87e69497b899b53e8fb (diff)
downloaddexon-0x-contracts-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.gz
dexon-0x-contracts-ab40123768a3376bd2b36bd0d85a8e476b89dc10.tar.zst
dexon-0x-contracts-ab40123768a3376bd2b36bd0d85a8e476b89dc10.zip
Merge pull request #51 from 0xProject/sender-account-assert
Remove isSenderAddressAvailableAsync
-rw-r--r--src/utils/assert.ts4
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`,