Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Mar 26, 2024
1 parent 52a0451 commit ae9be41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3007,7 +3007,8 @@ async fn process_account_sweep<T: Signers>(

let (mut instructions, sweep_amount) = if token.is_sol() {
if from_account.lamports < from_tracked_account.last_update_balance {
println!("Warning: {}: On-chain account balance ({}) less than tracked balance ({})",
println!(
"Warning: {}: On-chain account balance ({}) less than tracked balance ({})",
from_address,
token.ui_amount(from_account.lamports),
token.ui_amount(from_tracked_account.last_update_balance)
Expand Down

0 comments on commit ae9be41

Please sign in to comment.