mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Removed unneed (and potentially harmful) initialize() from DelegationAwareAToken.
This commit is contained in:
parent
e1f636ccd6
commit
b2a871f8f7
|
@ -39,16 +39,6 @@ contract DelegationAwareAToken is AToken {
|
|||
)
|
||||
{}
|
||||
|
||||
function initialize(
|
||||
uint8 _underlyingAssetDecimals,
|
||||
string calldata _tokenName,
|
||||
string calldata _tokenSymbol
|
||||
) external virtual override initializer {
|
||||
_setName(_tokenName);
|
||||
_setSymbol(_tokenSymbol);
|
||||
_setDecimals(_underlyingAssetDecimals);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Delegates voting power of the underlying asset to a `delegatee` address
|
||||
* @param delegatee The address that will receive the delegation
|
||||
|
|
Loading…
Reference in New Issue
Block a user