aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 18:59:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 18:59:40 +0800
commit4b6324050da4862f4d8bdb7d6dbd66107929a2b5 (patch)
tree7c18197754541bfe70e72ae670b19e290808408f /packages/contracts/util/exchange_wrapper.ts
parent12d62e1157168ec9e8cd23749523b2bcda8eefe5 (diff)
downloaddexon-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/util/exchange_wrapper.ts')
-rw-r--r--packages/contracts/util/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/util/exchange_wrapper.ts b/packages/contracts/util/exchange_wrapper.ts
index b749cd72e..e44a0eab6 100644
--- a/packages/contracts/util/exchange_wrapper.ts
+++ b/packages/contracts/util/exchange_wrapper.ts
@@ -184,7 +184,7 @@ export class ExchangeWrapper {
public async isValidSignatureAsync(order: Order): Promise<boolean> {
const isValidSignature = await this._exchange.isValidSignature(
order.params.maker,
- order.params.orderHashHex as string,
+ order.getOrderHashHex(),
order.params.v as number,
order.params.r as string,
order.params.s as string,