Skip to content

Commit 38b0cdd

Browse files
fix: func visibility (aave-dao#123)
1 parent b21b164 commit 38b0cdd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/contracts/interfaces/IPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ interface IPool {
749749
* @param asset The address of the underlying asset
750750
* @return Timestamp when the liquidation grace period will end
751751
**/
752-
function getLiquidationGracePeriod(address asset) external returns (uint40);
752+
function getLiquidationGracePeriod(address asset) external view returns (uint40);
753753

754754
/**
755755
* @notice Returns the total fee on flash loans

src/contracts/protocol/pool/Pool.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,9 @@ abstract contract Pool is VersionedInitializable, PoolStorage, IPool {
795795
}
796796

797797
/// @inheritdoc IPool
798-
function getLiquidationGracePeriod(address asset) external virtual override returns (uint40) {
798+
function getLiquidationGracePeriod(
799+
address asset
800+
) external view virtual override returns (uint40) {
799801
return _reserves[asset].liquidationGracePeriodUntil;
800802
}
801803

0 commit comments

Comments
 (0)