Skip to content

Commit

Permalink
fixe Arrays.zol
Browse files Browse the repository at this point in the history
  • Loading branch information
kKahina committed Aug 29, 2024
1 parent a201273 commit 20b44e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/contracts/Arrays.zol
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ contract Assign {


function add(secret uint256 value) public {

b[index] += value;
a += b[index];
known a += value;
b[index] = 0;
index++;
b[index] = value;
}

function remove(secret uint256 value) public {
Expand Down

0 comments on commit 20b44e4

Please sign in to comment.