aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.js.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/0x.js.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/0x.js.ts')
-rw-r--r--src/0x.js.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index 302064971..65d363218 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -163,7 +163,7 @@ export class ZeroEx {
*/
public async signOrderHashAsync(orderHashHex: string, senderAccount: string): Promise<ECSignature> {
assert.isHexString('orderHashHex', orderHashHex);
- await assert.isSenderAccountHexAsync('senderAccount', senderAccount, this.web3Wrapper);
+ await assert.isSenderAddressHexAsync('senderAccount', senderAccount, this.web3Wrapper);
let msgHashHex;
const nodeVersion = await this.web3Wrapper.getNodeVersionAsync();