Update contracts/mainnet/connectors/wsteth/main.sol

This commit is contained in:
Thrilok kumar 2022-09-04 21:27:49 +05:30 committed by GitHub
parent 0c89fcbbf0
commit 2af2967fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,8 @@ abstract contract WSTETHContract is Helpers, Basic {
approve(stethContract, address(wstethContract), _amt);
uint256 wstethAmt_ = wstethContract.wrap(_amt);
setUint(setId, wstethAmt_);
uint256 _wstethAmt = wstethContract.wrap(_amt);
setUint(setId, _wstethAmt);
_eventName = "LogDeposit(uint256,uint256,uint256,uint256)";
_eventParam = abi.encode(_amt, wstethAmt_, getId, setId);