Skip to content

Commit

Permalink
Merge pull request #381 from zama-ai/fix/private-ebool
Browse files Browse the repository at this point in the history
fix: private visibility for encrypted vars
  • Loading branch information
immortal-tofu authored May 7, 2024
2 parents 684ca81 + 5bf8649 commit d778337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/BlindAuction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ contract BlindAuction is Reencrypt {
euint64 internal highestBid;

// Mapping from bidder to their bid value.
mapping(address => euint64) public bids;
mapping(address => euint64) private bids;

// Number of bid
uint public bidCounter;
Expand All @@ -26,7 +26,7 @@ contract BlindAuction is Reencrypt {
EncryptedERC20 public tokenContract;

// Whether the auction object has been claimed.
ebool public objectClaimed;
ebool private objectClaimed;

// If the token has been transferred to the beneficiary
bool public tokenTransferred;
Expand Down

0 comments on commit d778337

Please sign in to comment.