diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-09 01:06:55 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-09 01:06:55 +0800 |
commit | 5706f45c3b0433fe56a2c87e69497b899b53e8fb (patch) | |
tree | cfc3e0e7bb6d5185f0ab9f9ed89ff25305f1fef0 /src | |
parent | 743ba29918715e21c7891b3c7426dcb5fdc14e17 (diff) | |
download | dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar.gz dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar.bz2 dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar.lz dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar.xz dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.tar.zst dexon-sol-tools-5706f45c3b0433fe56a2c87e69497b899b53e8fb.zip |
Remove isSenderAddressAvailableAsync
Diffstat (limited to 'src')
-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`, |