Fix removing domain and signature fields from order

This commit is contained in:
Lawrence Forman
2019-04-01 13:49:19 -04:00
committed by Amir Bandeali
parent b8f056b82f
commit 2e44bb6085

View File

@@ -124,10 +124,10 @@ export class FillScenarios {
this._web3Wrapper.getContractDefaults(),
);
const orderWithoutExchangeAddress = _.omit(signedOrder, ['signature', 'exchangeAddress']) as OrderWithoutDomain;
const orderWithoutDomain = _.omit(signedOrder, ['signature', 'domain']) as OrderWithoutDomain;
const txHash = await exchangeInstance.fillOrder.sendTransactionAsync(
orderWithoutExchangeAddress,
orderWithoutDomain,
partialFillAmount,
signedOrder.signature,
{ from: takerAddress },