mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/wsteth/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
parent
a7bc617f13
commit
ffb65ada60
|
@ -51,8 +51,8 @@ abstract contract WSTETHContract is Helpers, Basic {
|
|||
uint256 _amt = getUint(getId, wstethAmt);
|
||||
_amt = _amt == uint(-1) ? wstethContract.balanceOf(address(this)) : _amt;
|
||||
|
||||
wstethContract.unwrap(_amt);
|
||||
setUint(setId, _amt);
|
||||
uint256 stethAmt_ = wstethContract.unwrap(_amt);
|
||||
setUint(setId, stethAmt_);
|
||||
|
||||
_eventName = "LogWithdraw(uint256,uint256,uint256)";
|
||||
_eventParam = abi.encode(_amt, getId, setId);
|
||||
|
|
Loading…
Reference in New Issue
Block a user