diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 18:59:40 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 18:59:40 +0800 |
commit | 4b6324050da4862f4d8bdb7d6dbd66107929a2b5 (patch) | |
tree | 7c18197754541bfe70e72ae670b19e290808408f /packages/contracts/test/exchange/helpers.ts | |
parent | 12d62e1157168ec9e8cd23749523b2bcda8eefe5 (diff) | |
download | dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar.gz dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar.bz2 dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar.lz dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar.xz dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.tar.zst dexon-sol-tools-4b6324050da4862f4d8bdb7d6dbd66107929a2b5.zip |
Make orderHashHex a getter instead of a property
Diffstat (limited to 'packages/contracts/test/exchange/helpers.ts')
-rw-r--r-- | packages/contracts/test/exchange/helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts index 33bf8b803..e2e35ece8 100644 --- a/packages/contracts/test/exchange/helpers.ts +++ b/packages/contracts/test/exchange/helpers.ts @@ -71,7 +71,7 @@ describe('Exchange', () => { describe('getOrderHash', () => { it('should output the correct orderHash', async () => { const orderHashHex = await exchangeWrapper.getOrderHashAsync(order); - expect(order.params.orderHashHex).to.be.equal(orderHashHex); + expect(order.getOrderHashHex()).to.be.equal(orderHashHex); }); }); |