Skip to content

Commit

Permalink
fix: execute route pre hook approval
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdev3 committed Jun 26, 2024
1 parent ef463de commit 766236c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/evm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class EvmHandler extends Utils {
]);

const approveTx = await (data.signer as EvmWallet).sendTransaction({
to: params.fromToken.address,
to: params.preHook ? params.preHook.fundToken : params.fromToken.address,
data: approveData,
...overrides,
});
Expand Down

0 comments on commit 766236c

Please sign in to comment.