diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 03:04:07 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 03:04:07 +0800 |
commit | 4bcad260244f5399c07530db7ac18a8335246e34 (patch) | |
tree | 31ee128f35ed162847bd6892e2fb175487c033dd /src/utils | |
parent | 15bd31e629b0a5d2bf8e611b356123dd68a4f6e7 (diff) | |
download | dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar.gz dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar.bz2 dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar.lz dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar.xz dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.tar.zst dexon-sol-tools-4bcad260244f5399c07530db7ac18a8335246e34.zip |
Stop passing exchangeContractAddress to utils.getOrderHashHex
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/utils.ts b/src/utils/utils.ts index bad5b6498..a20fa2243 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -29,9 +29,9 @@ export const utils = { spawnSwitchErr(name: string, value: any): Error { return new Error(`Unexpected switch value: ${value} encountered for ${name}`); }, - getOrderHashHex(order: Order|SignedOrder, exchangeContractAddr: string): string { + getOrderHashHex(order: Order|SignedOrder): string { const orderParts = [ - {value: exchangeContractAddr, type: SolidityTypes.address}, + {value: order.exchangeContractAddress, type: SolidityTypes.address}, {value: order.maker, type: SolidityTypes.address}, {value: order.taker, type: SolidityTypes.address}, {value: order.makerTokenAddress, type: SolidityTypes.address}, |