Skip to content

Commit

Permalink
fix: remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Dec 11, 2024
1 parent 36738bd commit 751843c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rust/constants/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
//!
//! - [`SPECSTREE`], with network specs in cold database format
//! - [`VERIFIERS`], with network verifiers, i.e. data on who user trusts to
//! sign updates for a given network
//! sign updates for a given network
//! - [`METATREE`], with network metadata
//! - [`ADDRTREE`], with user addresses public information
//! - [`SETTREE`], containing general verifier, types information, and Vault
//! danger status
//! danger status
//! - [`TRANSACTION`], used to store temporarily transaction data while the
//! user accepts or declines it
//! user accepts or declines it
//! - [`HISTORY`], with history log
//!
//! Hot database contains following trees:
Expand All @@ -34,7 +34,7 @@
//!
//! - tree names in cold database alone or shared between cold and hot databases
//! - key names in [`SPECSTREE`] tree of cold database alone or shared between
//! cold and hot databases
//! cold and hot databases
//! - recurring throughout the Vault seed phrase for Alice
//! - QR graphic settings, used for both static and animated PNG QR codes
//!
Expand All @@ -43,7 +43,7 @@
//! air-gapped device. It includes:
//!
//! - keys for [`TRANSACTION`] tree, used for temporary storage for various
//! kinds of transactions while they are shown to user for approval
//! kinds of transactions while they are shown to user for approval
//! - display settings for history log and word guesser
//!
//! Feature `"active"` corresponds to all Vault-related things happening
Expand All @@ -54,7 +54,7 @@
//! - default color settings for network specs
//! - default files and folders name fragments, for use with `generate_message`
//! - fountain qr generation parameters (large apng fountain qr codes are
//! generated only on the hot side)
//! generated only on the hot side)
//!
//! Feature `"test"` includes all `"signer"` and `"active"` contents, and some
//! recurring data for integration testing, such as known identicons and known
Expand Down
1 change: 1 addition & 0 deletions rust/printing_balance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ fn assist(a: String, decimals: u8, order: u8) -> (String, Option<String>, i8) {

/// Input `balance` has to be a printed number. Likely `u128` or `u64`.
/// Validity of input is checked elsewhere.
pub fn convert_balance_pretty(balance: &str, decimals: u8, units: &str) -> PrettyOutput {
let order = (balance.len() as u8) - 1;

Expand Down

0 comments on commit 751843c

Please sign in to comment.