From 04e5e5bd01227f799fe4d4f525b6bdb0744f114c Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Sun, 4 Sep 2022 21:27:34 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/wsteth/main.sol --- contracts/mainnet/connectors/wsteth/main.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/mainnet/connectors/wsteth/main.sol b/contracts/mainnet/connectors/wsteth/main.sol index 725c180e..a152e2c4 100644 --- a/contracts/mainnet/connectors/wsteth/main.sol +++ b/contracts/mainnet/connectors/wsteth/main.sol @@ -51,8 +51,8 @@ abstract contract WSTETHContract is Helpers, Basic { uint256 _amt = getUint(getId, wstethAmt); _amt = _amt == uint(-1) ? wstethContract.balanceOf(address(this)) : _amt; - uint256 stethAmt_ = wstethContract.unwrap(_amt); - setUint(setId, stethAmt_); + uint256 _stethAmt = wstethContract.unwrap(_amt); + setUint(setId, _stethAmt); _eventName = "LogWithdraw(uint256,uint256,uint256,uint256)"; _eventParam = abi.encode(_amt, stethAmt_, getId, setId);