mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Changed modifier on batchInitReserve()
This commit is contained in:
parent
2a042ab82d
commit
0302339892
|
@ -60,7 +60,7 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
|
||||||
/**
|
/**
|
||||||
* @dev Initializes reserves in batch
|
* @dev Initializes reserves in batch
|
||||||
**/
|
**/
|
||||||
function batchInitReserve(InitReserveInput[] calldata inputParams) public onlyPoolAdmin {
|
function batchInitReserve(InitReserveInput[] calldata inputParams) external onlyPoolAdmin {
|
||||||
ILendingPool cachedPool = pool;
|
ILendingPool cachedPool = pool;
|
||||||
for (uint256 i = 0; i < inputParams.length; i++) {
|
for (uint256 i = 0; i < inputParams.length; i++) {
|
||||||
_initReserve(cachedPool, inputParams[i]);
|
_initReserve(cachedPool, inputParams[i]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user