From beac717630e4797285d68bb917b296ac536125ae Mon Sep 17 00:00:00 2001 From: Claudiu Lataretu Date: Tue, 27 Feb 2024 17:02:03 +0200 Subject: [PATCH] MEX-397: fix increase energy for wrapped farm tokens Signed-off-by: Claudiu Lataretu --- src/modules/proxy/proxy.transaction.resolver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/proxy/proxy.transaction.resolver.ts b/src/modules/proxy/proxy.transaction.resolver.ts index ef75de8de..31e2faa28 100644 --- a/src/modules/proxy/proxy.transaction.resolver.ts +++ b/src/modules/proxy/proxy.transaction.resolver.ts @@ -265,7 +265,7 @@ export class ProxyTransactionResolver { }); } - return this.transactionsProxyPairService.increaseProxyPairTokenEnergy( + return this.transactionsProxyFarmService.increaseProxyFarmTokenEnergy( user.address, proxyAddress, payment, @@ -282,7 +282,7 @@ export class ProxyTransactionResolver { ); if (proxyAddress !== scAddress.proxyDexAddress.v2) { - throw new Error('Wrapped lp token is not supported'); + throw new Error('Wrapped token is not supported'); } const lockOptions = await this.energyAbi.lockOptions();