aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/assert.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:37:52 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 18:37:52 +0800
commited3d1a8142e6f65480f95df7c3991ae00c757e38 (patch)
tree394da30c632c575f105a1c9650660552ade83ff0 /src/utils/assert.ts
parentc9fe2b16b9efcef123e8402d38f84a966f49f4f7 (diff)
downloaddexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.gz
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.bz2
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.lz
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.xz
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.tar.zst
dexon-sol-tools-ed3d1a8142e6f65480f95df7c3991ae00c757e38.zip
Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync
Diffstat (limited to 'src/utils/assert.ts')
-rw-r--r--src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
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<void> {
assert.isETHAddressHex(variableName, senderAccount);
await assert.isSenderAccountAvailableAsync(web3Wrapper, senderAccount);