aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;