Skip to content

Commit

Permalink
feat: removing nullifier from private FPC
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 5, 2024
1 parent 1fb24e2 commit 04d9bf6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ contract PrivateFPC {
#[aztec(private)]
fn fund_transaction_privately(amount: Field, asset: AztecAddress, user_randomness: Field) {
assert(asset == storage.other_asset.read_private());
// convince the FPC we are not cheating
context.push_nullifier(user_randomness);

// We use different randomness for fee payer to prevent a potential privacy leak (see description
// of `setup_refund(...)` function in TokenWithRefunds for details.
Expand Down

0 comments on commit 04d9bf6

Please sign in to comment.