Skip to content

Commit 76ac21c

Browse files
Bilogweb3arr00
authored andcommitted
fix correction (#5458)
1 parent 0d0e4aa commit 76ac21c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/interfaces/IERC4626.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ interface IERC4626 is IERC20, IERC20Metadata {
198198
function maxRedeem(address owner) external view returns (uint256 maxShares);
199199

200200
/**
201-
* @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,
201+
* @dev Allows an on-chain or off-chain user to simulate the effects of their redemption at the current block,
202202
* given current on-chain conditions.
203203
*
204204
* - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call

contracts/proxy/utils/Initializable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ abstract contract Initializable {
112112
// Allowed calls:
113113
// - initialSetup: the contract is not in the initializing state and no previous version was
114114
// initialized
115-
// - construction: the contract is initialized at version 1 (no reininitialization) and the
115+
// - construction: the contract is initialized at version 1 (no reinitialization) and the
116116
// current contract is just being deployed
117117
bool initialSetup = initialized == 0 && isTopLevelCall;
118118
bool construction = initialized == 1 && address(this).code.length == 0;

0 commit comments

Comments
 (0)