Skip to content

Commit 95e7fe7

Browse files
committed
Print unabridged token balances
1 parent 7970925 commit 95e7fe7

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
@@ -1798,7 +1798,7 @@ async fn maybe_println_lot(
17981798
};
17991799

18001800
let msg = format!(
1801-
"{:>5}. {} | {:>10} at {:>6} | {} | income: {:>11} | {} gain: {:>14}{} {}",
1801+
"{:>5}. {} | {:>17} at {:>6} | {} | income: {:>11} | {} gain: {:>14}{} {}",
18021802
lot.lot_number,
18031803
lot.acquisition.when,
18041804
token.format_ui_amount(ui_amount),
@@ -2255,7 +2255,7 @@ async fn process_account_list(
22552255
account.address,
22562256
account.token,
22572257
account.token.symbol(),
2258-
ui_amount.separated_string_with_fixed_place(2),
2258+
ui_amount.separated_string_with_fixed_place(9),
22592259
liquidity_ui_amount,
22602260
account.description
22612261
);

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)