From a1dc652cfb7e1bc68e8959d6bdf6e499868f595d Mon Sep 17 00:00:00 2001 From: Zak Date: Mon, 1 Jul 2024 11:59:16 +0100 Subject: [PATCH] fix: staking v2 withdraw --- src/components/staking-pool/StakingDecreaseModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/staking-pool/StakingDecreaseModal.jsx b/src/components/staking-pool/StakingDecreaseModal.jsx index a8d13cf..415383e 100644 --- a/src/components/staking-pool/StakingDecreaseModal.jsx +++ b/src/components/staking-pool/StakingDecreaseModal.jsx @@ -59,8 +59,8 @@ const StakingDecreaseModal = ({ address: stakingPoolv2Address, functionName: "decreaseStake", args: [ - parseEther(tstWithdrawAmount.toString()), - parseEther(eurosWithdrawAmount.toString()), + tstWithdrawAmount, + eurosWithdrawAmount, ], }); } catch (error) {