Skip to content

Commit dc74c36

Browse files
fix: update print statements to only show final update accounts
Co-Authored-By: Tejas Badadare <[email protected]>
1 parent d2ecf10 commit dc74c36

File tree

1 file changed

+1
-5
lines changed
  • target_chains/solana/cli/src

1 file changed

+1
-5
lines changed

target_chains/solana/cli/src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ pub fn process_write_encoded_vaa_and_post_twap_update(
469469
start_init_instructions,
470470
&vec![payer, &start_encoded_vaa_keypair],
471471
)?;
472-
println!("Successfully created and initialized start VAA at address: {}", start_encoded_vaa_keypair.pubkey());
473472

474473
// Transaction 2: Create and initialize end VAA
475474
let end_init_instructions = init_encoded_vaa_and_write_initial_data_ixs(
@@ -483,7 +482,6 @@ pub fn process_write_encoded_vaa_and_post_twap_update(
483482
end_init_instructions,
484483
&vec![payer, &end_encoded_vaa_keypair],
485484
)?;
486-
println!("Successfully created and initialized end VAA at address: {}", end_encoded_vaa_keypair.pubkey());
487485

488486
// Transaction 3: Write remaining VAA data and verify both VAAs
489487
let mut verify_instructions = vec![ComputeBudgetInstruction::set_compute_unit_limit(1_200_000)];
@@ -521,9 +519,7 @@ pub fn process_write_encoded_vaa_and_post_twap_update(
521519
post_instructions,
522520
&vec![payer, &twap_update_keypair],
523521
)?;
524-
println!("Successfully posted TWAP update with start VAA at {} and end VAA at {}",
525-
start_encoded_vaa_keypair.pubkey(),
526-
end_encoded_vaa_keypair.pubkey());
522+
println!("Successfully posted TWAP update at address: {}", twap_update_keypair.pubkey());
527523

528524
Ok(twap_update_keypair.pubkey())
529525
}

0 commit comments

Comments
 (0)