From 67e2208a1822732ea125af0c4cd757b9f735ce86 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 6 Jun 2017 12:48:00 +0200 Subject: Rename accounts to addreses --- src/utils/assert.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/assert.ts b/src/utils/assert.ts index 6e10c5d40..5b4a6fca6 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -29,9 +29,9 @@ export const assert = { async isSenderAddressHexAsync(variableName: string, senderAddress: string, web3Wrapper: Web3Wrapper): Promise { assert.isETHAddressHex(variableName, senderAddress); - await assert.isSenderAccountAvailableAsync(web3Wrapper, senderAddress); + await assert.isSenderAddressAvailableAsync(web3Wrapper, senderAddress); }, - async isSenderAccountAvailableAsync(web3Wrapper: Web3Wrapper, senderAddress: string): Promise { + async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, senderAddress: string): Promise { const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddress); assert.assert(isSenderAddressAvailable, `Specified sender account ${senderAddress} isn't available through the \ supplied web3 instance`); -- cgit v1.2.3