Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeychr committed Dec 12, 2023
1 parent 07a8f3f commit e7c823d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/chain-evm/tx-generators/createOrderFullfillTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ async function getLowLevelEvmInstruction(
{
unlockAuthority: order.takeChain.unlockAuthority.bytesAddress,
externalCallRewardBeneficiary: order.takeChain.unlockBeneficiary,
preswapChangeRecipient:

Check failure on line 29 in src/chain-evm/tx-generators/createOrderFullfillTx.ts

View workflow job for this annotation

GitHub Actions / Run eslint

Argument of type '{ unlockAuthority: Uint8Array; externalCallRewardBeneficiary: Uint8Array; preswapChangeRecipient: Uint8Array | undefined; }' is not assignable to parameter of type '{ unlockAuthority: Uint8Array; externalCallRewardBeneficiary?: Uint8Array | undefined; srcTokenInPermitEnvelope?: string | undefined; }'.
order.dstConstraints().preFulfillSwapChangeRecipient === 'taker'
? order.takeChain.unlockBeneficiary
: undefined,
},
);
}
Expand Down

0 comments on commit e7c823d

Please sign in to comment.