address comments

This commit is contained in:
Michael Zhu
2019-12-03 10:35:05 -08:00
parent 1ca085ec4a
commit 2232870b09
3 changed files with 6 additions and 6 deletions

View File

@@ -198,7 +198,7 @@ blockchainTests('erc20-bridge-sampler', env => {
}
function getDeterministicOrderInfo(order: Order): OrderInfo {
const hash = getPackedHash(toHex(order.salt, 32));
const hash = getPackedHash(hexLeftPad(order.salt, 32));
return {
orderHash: hash,
orderStatus: new BigNumber(hash).mod(255).toNumber(),