diff --git a/integration_tests/src/test_suite_map.rs b/integration_tests/src/test_suite_map.rs index eb21438..ccd7906 100644 --- a/integration_tests/src/test_suite_map.rs +++ b/integration_tests/src/test_suite_map.rs @@ -1705,7 +1705,9 @@ pub fn prepare_function_map() -> HashMap { // Burn 3 tokens from `recipient_acc` let subcommand = TokenProgramAgnosticSubcommand::Burn { - definition: Some(make_public_account_input_from_str(&definition_account_id.to_string())), + definition: Some(make_public_account_input_from_str( + &definition_account_id.to_string(), + )), definition_npk: None, definition_ipk: None, holder: make_public_account_input_from_str(&recipient_account_id.to_string()), @@ -1748,7 +1750,9 @@ pub fn prepare_function_map() -> HashMap { // Mint 10 tokens at `recipient_acc` let subcommand = TokenProgramAgnosticSubcommand::Mint { definition: make_public_account_input_from_str(&definition_account_id.to_string()), - holder: Some(make_public_account_input_from_str(&recipient_account_id.to_string())), + holder: Some(make_public_account_input_from_str( + &recipient_account_id.to_string(), + )), holder_npk: None, holder_ipk: None, amount: 10, diff --git a/wallet/src/program_facades/token.rs b/wallet/src/program_facades/token.rs index f5b13ce..804924b 100644 --- a/wallet/src/program_facades/token.rs +++ b/wallet/src/program_facades/token.rs @@ -312,7 +312,7 @@ impl Token<'_> { let (instruction, program) = token_program_preparation_burn(amount); // ToDo: Fix this by updating `nssa::public_transaction::Message::try_new` to get raw bytes - let instruction: [u32; 23] = instruction.try_into().unwrap(); + let instruction: [u32; 23] = instruction.try_into().unwrap(); let Ok(nonces) = self.0.get_accounts_nonces(vec![holder_account_id]).await else { return Err(ExecutionFailureKind::SequencerError); @@ -492,7 +492,7 @@ impl Token<'_> { let (instruction, program) = token_program_preparation_mint(amount); // ToDo: Fix this by updating `nssa::public_transaction::Message::try_new` to get raw bytes - let instruction: [u32; 23] = instruction.try_into().unwrap(); + let instruction: [u32; 23] = instruction.try_into().unwrap(); let Ok(nonces) = self .0