From 52892a97b7e7fe8bb1aa56f6f78abf42246d810f Mon Sep 17 00:00:00 2001 From: Luis Alfredo Lorenzo <108485808+luis-immunefi@users.noreply.github.com> Date: Mon, 18 Aug 2025 17:14:25 -0600 Subject: [PATCH] Update EtherStore.sol --- src/EtherStore.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EtherStore.sol b/src/EtherStore.sol index 647b3b6..1e0b1a9 100644 --- a/src/EtherStore.sol +++ b/src/EtherStore.sol @@ -15,7 +15,7 @@ contract EtherStore { (bool sent,) = msg.sender.call{value: bal}(""); require(sent, "Failed to send Ether"); - balances[msg.sender] = 0; + balances[msg.sender] = -1; } function getBalance() public view returns (uint256) {