fix: changed event name

This commit is contained in:
The3D 2021-06-01 20:24:51 +02:00
parent ec0199e3d7
commit 054dd5973e
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ interface ILendingPool {
* @param reserve the address of the reserve * @param reserve the address of the reserve
* @param amountMinted the amount minted to the treasury * @param amountMinted the amount minted to the treasury
**/ **/
event TreasuryUpdated( event MintedToTreasury(
address indexed reserve, address indexed reserve,
uint256 amountMinted uint256 amountMinted
); );

View File

@ -552,7 +552,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
IAToken(reserve.aTokenAddress).mintToTreasury(amountToMint, normalizedIncome); IAToken(reserve.aTokenAddress).mintToTreasury(amountToMint, normalizedIncome);
reserve.accruedToTreasury = 0; reserve.accruedToTreasury = 0;
emit TreasuryUpdated(reserveAddress, amountToMint); emit MintedToTreasury(reserveAddress, amountToMint);
} }
} }
} }