aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/0x.js.ts')
-rw-r--r--test/0x.js.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/0x.js.ts b/test/0x.js.ts
index d59df8894..71126c7da 100644
--- a/test/0x.js.ts
+++ b/test/0x.js.ts
@@ -59,7 +59,8 @@ describe('ZeroEx library', () => {
expect(isValid).to.be.false;
});
it('should return false if the address doesn\'t pertain to the signature & data', () => {
- const isValid = ZeroEx.isValidSignature(data, signature, '0xIamWrong');
+ const validUnrelatedAddress = '0x8b0292B11a196601eD2ce54B665CaFEca0347D42';
+ const isValid = ZeroEx.isValidSignature(data, signature, validUnrelatedAddress);
expect(isValid).to.be.false;
});
it('should return false if the signature doesn\'t pertain to the data & address', () => {