From fab6ec1cc42152dd656062f8cb1ba585b46f4071 Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 21 Oct 2024 14:20:38 +0000 Subject: [PATCH] fmt --- noir-projects/noir-contracts/contracts/nft_contract/src/main.nr | 2 +- .../contracts/nft_contract/src/test/transfer_to_private.nr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr b/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr index 517f3f9f560f..3dc561f4c6ac 100644 --- a/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr @@ -218,7 +218,7 @@ contract NFT { #[public] #[internal] - fn _finalize_transfer_to_private_unsafe(from: AztecAddress, token_id: Field, hiding_point_slot: Field) { + fn _finalize_transfer_to_private_unsafe(from: AztecAddress, token_id: Field, hiding_point_slot: Field) { _finalize_transfer_to_private(from, token_id, hiding_point_slot, &mut context, storage); } diff --git a/noir-projects/noir-contracts/contracts/nft_contract/src/test/transfer_to_private.nr b/noir-projects/noir-contracts/contracts/nft_contract/src/test/transfer_to_private.nr index fb7aad88875a..8d06b5a5dd50 100644 --- a/noir-projects/noir-contracts/contracts/nft_contract/src/test/transfer_to_private.nr +++ b/noir-projects/noir-contracts/contracts/nft_contract/src/test/transfer_to_private.nr @@ -60,7 +60,7 @@ unconstrained fn transfer_to_private_external_orchestration() { utils::assert_owns_public_nft(env, nft_contract_address, AztecAddress::zero(), token_id); } -#[test(should_fail_with="transfer not prepared")] +#[test(should_fail_with = "transfer not prepared")] unconstrained fn transfer_to_private_transfer_not_prepared() { // Setup without account contracts. We are not using authwits here, so dummy accounts are enough let (env, nft_contract_address, _, _, token_id) = utils::setup_and_mint(/* with_account_contracts */ false);