Skip to content

Commit

Permalink
declare params
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdler committed Dec 2, 2024
1 parent 29dfbd1 commit ee7fc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/src/assets/SwapLayerInitiate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract contract SwapLayerInitiate is SwapLayerRelayingFees {
uint16 targetChain,
bytes memory inputParams
) external payable returns (bytes memory) { unchecked {
params = replaceAmountIn(inputParams, amountIn);
bytes memory params = replaceAmountIn(inputParams, amountIn);
checkAddr(targetChain, recipient);
ModesOffsetsSizes memory mos = parseParamBaseStructure(targetChain, params);

Expand Down

0 comments on commit ee7fc85

Please sign in to comment.