diff options
author | Fabio Berger <me@fabioberger.com> | 2018-11-12 18:57:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-11-12 18:57:54 +0800 |
commit | 6fa6579c312295974bff9f6f2f78a4443dcb145e (patch) | |
tree | 8d43540b927977dd0252b07c7427c3dfca133e18 /packages | |
parent | 8efc6c211246ec59a70d25754ccf1986944a5976 (diff) | |
download | dexon-0x-contracts-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.gz dexon-0x-contracts-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.zst dexon-0x-contracts-6fa6579c312295974bff9f6f2f78a4443dcb145e.zip |
Use correctly formatted signature so that it rejects with the expected reason and not because the signature is mal-formatted
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contract-wrappers/test/exchange_wrapper_test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts index 1bf3005cc..73ce6c743 100644 --- a/packages/contract-wrappers/test/exchange_wrapper_test.ts +++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts @@ -286,7 +286,8 @@ describe('ExchangeWrapper', () => { it('should throw if signature is invalid', async () => { const signedOrderWithInvalidSignature = { ...signedOrder, - signature: '0xdeadbeef', + signature: + '0x1b61a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc3340349190569279751135161d22529dc25add4f6069af05be04cacbda2ace225403', }; expect( |