Skip to content

Commit

Permalink
feat: removing nullifier from private FPC (#7765)
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan authored Aug 6, 2024
1 parent d04183c commit 5bcc136
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 5bcc136

Please sign in to comment.