Skip to content

Commit

Permalink
Make aToken.initialize public and virtual so it can be extended
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Dec 21, 2022
1 parent f3e037b commit 8865203
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 @@ -59,7 +59,7 @@ contract AToken is VersionedInitializable, ScaledBalanceTokenBase, EIP712Base, I
string calldata aTokenName,
string calldata aTokenSymbol,
bytes calldata params
) external override initializer {
) public virtual override initializer {
require(initializingPool == POOL, Errors.POOL_ADDRESSES_DO_NOT_MATCH);
_setName(aTokenName);
_setSymbol(aTokenSymbol);
Expand Down

0 comments on commit 8865203

Please sign in to comment.