From 2925f5554e51b5475f0fe843ec530a6fe93a99ae Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:48:03 +0000 Subject: [PATCH] Update noir-projects/noir-contracts/contracts/schnorr_single_key_account_contract/src/util.nr --- .../schnorr_single_key_account_contract/src/util.nr | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/noir-projects/noir-contracts/contracts/schnorr_single_key_account_contract/src/util.nr b/noir-projects/noir-contracts/contracts/schnorr_single_key_account_contract/src/util.nr index 6c1ef891c62..e77e943006e 100644 --- a/noir-projects/noir-contracts/contracts/schnorr_single_key_account_contract/src/util.nr +++ b/noir-projects/noir-contracts/contracts/schnorr_single_key_account_contract/src/util.nr @@ -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) }