mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: changed event name
This commit is contained in:
parent
ec0199e3d7
commit
054dd5973e
|
@ -172,7 +172,7 @@ interface ILendingPool {
|
|||
* @param reserve the address of the reserve
|
||||
* @param amountMinted the amount minted to the treasury
|
||||
**/
|
||||
event TreasuryUpdated(
|
||||
event MintedToTreasury(
|
||||
address indexed reserve,
|
||||
uint256 amountMinted
|
||||
);
|
||||
|
|
|
@ -552,7 +552,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
|
|||
IAToken(reserve.aTokenAddress).mintToTreasury(amountToMint, normalizedIncome);
|
||||
|
||||
reserve.accruedToTreasury = 0;
|
||||
emit TreasuryUpdated(reserveAddress, amountToMint);
|
||||
emit MintedToTreasury(reserveAddress, amountToMint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user