Skip to content

Commit

Permalink
Update noir-projects/noir-contracts/contracts/schnorr_single_key_acco…
Browse files Browse the repository at this point in the history
…unt_contract/src/util.nr
  • Loading branch information
TomAFrench authored Dec 3, 2024
1 parent 6ea6acb commit 2925f55
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ pub fn recover_address(message_hash: Field, witness: AuthWitness) -> AztecAddres
};

// In a single key account contract we re-used ivpk_m as signing key

schnorr::assert_valid_signature(
public_key,
witness.signature,
message_bytes,
);
schnorr::assert_valid_signature(public_key, witness.signature, message_bytes);

AztecAddress::compute(witness.keys, witness.partial_address)
}

0 comments on commit 2925f55

Please sign in to comment.