Rebase and address review comments.

This commit is contained in:
Lawrence Forman
2020-02-07 22:29:32 -05:00
parent 3e8f9a6b53
commit ae650849b0
5 changed files with 135 additions and 276 deletions

View File

@@ -9,7 +9,7 @@ export const hashUtils = {
return hashBuffer;
},
getApprovalHashHex(transaction: SignedZeroExTransaction, verifyingContract: string, txOrigin: string): string {
const hashHex = hexUtils.concat(hashUtils.getApprovalHashBuffer(transaction, verifyingContract, txOrigin));
const hashHex = hexUtils.toHex(hashUtils.getApprovalHashBuffer(transaction, verifyingContract, txOrigin));
return hashHex;
},
};