Fix removing domain
and signature
fields from order
This commit is contained in:
committed by
Amir Bandeali
parent
b8f056b82f
commit
2e44bb6085
@@ -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 },
|
||||
|
Reference in New Issue
Block a user