From f7e31eab057def3140460ffb4a7c45003d7a2dee Mon Sep 17 00:00:00 2001 From: BkChoy Date: Fri, 22 Nov 2024 04:52:38 -0500 Subject: [PATCH] only emit Withdraw event when amount is > 0 --- contracts/core/priorityPool/PriorityPool.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/priorityPool/PriorityPool.sol b/contracts/core/priorityPool/PriorityPool.sol index 8171f12..492d53f 100644 --- a/contracts/core/priorityPool/PriorityPool.sol +++ b/contracts/core/priorityPool/PriorityPool.sol @@ -78,7 +78,7 @@ contract PriorityPool is UUPSUpgradeable, OwnableUpgradeable, PausableUpgradeabl event UnqueueTokens(address indexed account, uint256 amount); event ClaimLSDTokens(address indexed account, uint256 amount, uint256 amountWithYield); - event Deposit(address indexed account, uint256 poolAmount, uint256 queueAmount); + event Deposit(address indexed account, uint256 instantAmount, uint256 queueAmount); event Withdraw(address indexed account, uint256 amount); event UpdateDistribution( bytes32 merkleRoot,