aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:48:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:48:00 +0800
commit67e2208a1822732ea125af0c4cd757b9f735ce86 (patch)
tree0582c6a5ce6170ae568bbadbfbec043ba9c26ef5 /src/utils
parent279790117be882186685c04099e3d46ec68991b6 (diff)
downloaddexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar.gz
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar.bz2
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar.lz
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar.xz
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.tar.zst
dexon-sol-tools-67e2208a1822732ea125af0c4cd757b9f735ce86.zip
Rename accounts to addreses
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/assert.ts4
1 files changed, 2 insertions, 2 deletions
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<void> {
assert.isETHAddressHex(variableName, senderAddress);
- await assert.isSenderAccountAvailableAsync(web3Wrapper, senderAddress);
+ await assert.isSenderAddressAvailableAsync(web3Wrapper, senderAddress);
},
- async isSenderAccountAvailableAsync(web3Wrapper: Web3Wrapper, senderAddress: string): Promise<void> {
+ async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, senderAddress: string): Promise<void> {
const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddress);
assert.assert(isSenderAddressAvailable, `Specified sender account ${senderAddress} isn't available through the \
supplied web3 instance`);