aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 16:53:57 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 16:53:57 +0800
commitfc912aff68479d099f2fc1a0671226503ac8e03c (patch)
treefc6181652384afea3eea554b85f94c15dc9dcc94
parent2a080427278d040d2e978ceb806e61818f13ae2f (diff)
downloaddexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar.gz
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar.bz2
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar.lz
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar.xz
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.tar.zst
dexon-sol-tools-fc912aff68479d099f2fc1a0671226503ac8e03c.zip
Fix tests
-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 5e2cd9ed9..31d56fca5 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(this.web3Wrapper, senderAccount);
+ await assert.isSenderAccountHexAsync('senderAccount', senderAccount, this.web3Wrapper);
const makerAddress = senderAccount;
let msgHashHex;