Skip to content

Commit 22c0225

Browse files
committed
Print unabridged token balances
1 parent 76ad755 commit 22c0225

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ async fn maybe_println_lot(
15721572
};
15731573

15741574
let msg = format!(
1575-
"{:>5}. {} | {:>10} at {:>6} | {} | income: {:>11} | {} gain: {:>14}{} {}",
1575+
"{:>5}. {} | {:>17} at {:>6} | {} | income: {:>11} | {} gain: {:>14}{} {}",
15761576
lot.lot_number,
15771577
lot.acquisition.when,
15781578
token.format_ui_amount(ui_amount),
@@ -2024,7 +2024,7 @@ async fn process_account_list(
20242024
account.address,
20252025
account.token,
20262026
account.token.symbol(),
2027-
ui_amount.separated_string_with_fixed_place(2),
2027+
ui_amount.separated_string_with_fixed_place(9),
20282028
liquidity_ui_amount,
20292029
account.description
20302030
);

src/token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ impl MaybeToken {
429429
format!(
430430
"{}{}",
431431
self.symbol(),
432-
ui_amount.separated_string_with_fixed_place(6)
432+
ui_amount.separated_string_with_fixed_place(9)
433433
)
434434
}
435435
}

0 commit comments

Comments
 (0)