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) {