From 534f2851f2a1260afd041c0a600fd371e3e4c5ea Mon Sep 17 00:00:00 2001 From: Eduardo Melo Date: Fri, 20 Sep 2024 11:59:43 -0300 Subject: [PATCH] fix: comments from PR --- contracts/ERC20Splitter.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/ERC20Splitter.sol b/contracts/ERC20Splitter.sol index 8a0f486..b245664 100644 --- a/contracts/ERC20Splitter.sol +++ b/contracts/ERC20Splitter.sol @@ -68,6 +68,7 @@ contract ERC20Splitter is ReentrancyGuard { address tokenAddress = tokenAddresses[i]; uint256 amount = balances[tokenAddress][msg.sender]; withdrawnAmounts[i] = amount; + if (amount == 0) { continue; }