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
This commit is contained in:
parent
8832e70469
commit
04e5e5bd01
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user