Skip to content

Commit

Permalink
Merge df2c1db into 871cf65
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost authored Jun 7, 2023
2 parents 871cf65 + df2c1db commit b911e65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ struct nullifier_leaf {
write(buf, nextValue);
}

bool is_empty() const { return value == fr::zero(); }
barretenberg::fr hash() const { return stdlib::merkle_tree::hash_multiple_native({ value, nextIndex, nextValue }); }
};

Expand Down

0 comments on commit b911e65

Please sign in to comment.