diff --git a/contracts/protocol/tokenization/AToken.sol b/contracts/protocol/tokenization/AToken.sol index 2bd122e6a..fd9d74b20 100644 --- a/contracts/protocol/tokenization/AToken.sol +++ b/contracts/protocol/tokenization/AToken.sol @@ -107,7 +107,7 @@ contract AToken is VersionedInitializable, ScaledBalanceTokenBase, EIP712Base, I } /// @inheritdoc IAToken - function mintToTreasury(uint256 amount, uint256 index) external override onlyPool { + function mintToTreasury(uint256 amount, uint256 index) external virtual override onlyPool { if (amount == 0) { return; }