From ed3d1a8142e6f65480f95df7c3991ae00c757e38 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 6 Jun 2017 12:37:52 +0200 Subject: Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync --- src/utils/assert.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/assert.ts b/src/utils/assert.ts index 0f45a62ff..d9cf57d1c 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -26,7 +26,7 @@ export const assert = { const web3 = new Web3(); this.assert(web3.isAddress(value), this.typeAssertionMessage(variableName, 'ETHAddressHex', value)); }, - async isSenderAccountHexAsync(variableName: string, senderAccount: string, + async isSenderAddressHexAsync(variableName: string, senderAccount: string, web3Wrapper: Web3Wrapper): Promise { assert.isETHAddressHex(variableName, senderAccount); await assert.isSenderAccountAvailableAsync(web3Wrapper, senderAccount); -- cgit v1.2.3