From 5706f45c3b0433fe56a2c87e69497b899b53e8fb Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 8 Jun 2017 19:06:55 +0200 Subject: Remove isSenderAddressAvailableAsync --- src/utils/assert.ts | 4 ---- 1 file changed, 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 { assert.isETHAddressHex(variableName, senderAddressHex); - await assert.isSenderAddressAvailableAsync(web3Wrapper, variableName, senderAddressHex); - }, - async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, variableName: string, - senderAddressHex: string): Promise { const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddressHex); assert.assert(isSenderAddressAvailable, `Specified ${variableName} ${senderAddressHex} isn't available through the supplied web3 instance`, -- cgit v1.2.3