From 3974efff3a2889b152ad3f7aee0d61ef7d23213e Mon Sep 17 00:00:00 2001 From: fewensa Date: Mon, 22 Apr 2024 07:07:23 +0000 Subject: [PATCH] Fix approve address --- src/register/lnv2_opposite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register/lnv2_opposite.js b/src/register/lnv2_opposite.js index 29acf9f..989a9bf 100644 --- a/src/register/lnv2_opposite.js +++ b/src/register/lnv2_opposite.js @@ -127,7 +127,7 @@ async function registerWithSafe(options, callOptions) { if (!tool.isDisableApprove({definition, symbol: register.symbol, chainId: targetChainId})) { p0Transactions.push({ - to: register.targetTokenAddress, + to: register.sourceTokenAddress, value: '0', data: txApprove.stdout.trim(), });