From 25492b0890ea8a7378707670eba90114bc887f84 Mon Sep 17 00:00:00 2001 From: Luis Alfredo Lorenzo <108485808+luis-immunefi@users.noreply.github.com> Date: Mon, 18 Aug 2025 15:04:56 -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..90af805 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) {