Skip to content

Commit afdccc1

Browse files
committed
style: run prettier.
1 parent e192d51 commit afdccc1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

contracts/contracts/token/WOETH.sol

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ contract WOETH is ERC4626, Governable, Initializable {
8181
onlyGovernor
8282
{
8383
if (asset_ == address(asset())) {
84-
uint256 surplus = OETH(asset()).balanceOf(address(this)) - totalAssets();
84+
uint256 surplus = OETH(asset()).balanceOf(address(this)) -
85+
totalAssets();
8586
require(amount_ <= surplus, "Can only collect surplus");
8687
}
87-
88+
8889
IERC20(asset_).safeTransfer(governor(), amount_);
8990
}
9091

@@ -97,8 +98,8 @@ contract WOETH is ERC4626, Governable, Initializable {
9798
* @return amount of OETH credits the OETH amount corresponds to
9899
*/
99100
function _creditsPerAsset(uint256 oethAmount)
100-
internal
101-
view
101+
internal
102+
view
102103
returns (uint256)
103104
{
104105
(, uint256 creditsPerTokenHighres, ) = OETH(asset())

0 commit comments

Comments
 (0)