Skip to content

Commit

Permalink
Update src/lib/format/icp_ledger.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Swanson <[email protected]>
  • Loading branch information
1 parent ed4ec00 commit 8ff606f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/format/icp_ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn display_send_dfx(blob: &[u8]) -> AnyhowResult<String> {
pub fn display_account_balance_or_dfx(blob: &[u8]) -> AnyhowResult<String> {
let tokens = Decode!(blob, Tokens)?;
Ok(format!(
"Balance: {}",
"Balance: {} ICP",
e8s_to_tokens(tokens.get_e8s().into())
))
}

0 comments on commit 8ff606f

Please sign in to comment.