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

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
Shriya Tyagi 2022-09-04 21:21:37 +05:30 committed by GitHub
parent a3b64c1251
commit a7bc617f13
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);
wstethContract.wrap(_amt);
setUint(setId, _amt);
uint256 wstethAmt_ = wstethContract.wrap(_amt);
setUint(setId, wstethAmt_);
_eventName = "LogDeposit(uint256,uint256,uint256)";
_eventParam = abi.encode(_amt, getId, setId);