From d82cc069a04545d1fc4c189e048c02aaf840630e Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Sun, 4 Sep 2022 21:31:22 +0530 Subject: [PATCH] Apply suggestions from code review --- 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 3971a909..9fdcaf30 100644 --- a/contracts/mainnet/connectors/wsteth/main.sol +++ b/contracts/mainnet/connectors/wsteth/main.sol @@ -32,7 +32,7 @@ abstract contract WSTETHContract is Helpers, Basic { setUint(setId, _wstethAmt); _eventName = "LogDeposit(uint256,uint256,uint256,uint256)"; - _eventParam = abi.encode(_amt, wstethAmt_, getId, setId); + _eventParam = abi.encode(_amt, _wstethAmt, getId, setId); } /** @@ -55,7 +55,7 @@ abstract contract WSTETHContract is Helpers, Basic { setUint(setId, _stethAmt); _eventName = "LogWithdraw(uint256,uint256,uint256,uint256)"; - _eventParam = abi.encode(_amt, stethAmt_, getId, setId); + _eventParam = abi.encode(_amt, _stethAmt, getId, setId); } }