Skip to content

Commit

Permalink
Make mintToTreasury virtual so it can be overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Nov 2, 2022
1 parent f3e037b commit e513b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/protocol/tokenization/AToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e513b7d

Please sign in to comment.