Skip to content

Commit

Permalink
Merge pull request #726 from davidlaprade/make-mint-to-treasury-virtual
Browse files Browse the repository at this point in the history
Make mintToTreasury virtual so it can be overridden
  • Loading branch information
miguelmtzinf authored Nov 3, 2022
2 parents 86f0984 + e513b7d commit 005b3ec
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 005b3ec

Please sign in to comment.