From 54927ddd70b3dc8bc509a3491f57f32dbd7b23af Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Fri, 18 Jul 2025 21:47:29 -0300 Subject: [PATCH] nit --- risc0-selective-privacy-poc/examples/happy_path.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/risc0-selective-privacy-poc/examples/happy_path.rs b/risc0-selective-privacy-poc/examples/happy_path.rs index d4425ff..53e8475 100644 --- a/risc0-selective-privacy-poc/examples/happy_path.rs +++ b/risc0-selective-privacy-poc/examples/happy_path.rs @@ -54,9 +54,9 @@ fn main() { println!("šŸ“ Balances after public piƱata execution"); print_accounts(&sequencer, &[&private_account_user_1, &private_account_user_2]); - // A deshielded execution of the PiƱata program + // A shielded execution of the PiƱata program // User1 claims the prize of the PiƱata program to a new self-owned private account - let private_account_user_0 = { + let another_private_account_user_1 = { // All of this is executed locally by the User1 let pinata_account = sequencer.get_account(&PINATA_ADDRESS).unwrap(); let receiver_account = MockedClient::fresh_account_for_mint(USER_CLIENTS[1].user_address()); @@ -71,8 +71,8 @@ fn main() { &mut sequencer, ) .unwrap(); - let [private_account_user_0] = private_outputs.try_into().unwrap(); - private_account_user_0 + let [private_account_user_1] = private_outputs.try_into().unwrap(); + private_account_user_1 }; println!("šŸ“ Balances after private piƱata execution"); print_accounts( @@ -80,7 +80,7 @@ fn main() { &[ &private_account_user_1, &private_account_user_2, - &private_account_user_0, + &another_private_account_user_1, ], );