mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Apply suggestions from code review
This commit is contained in:
parent
b0724d4d71
commit
d82cc069a0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user