Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejdfinity committed Dec 11, 2024
1 parent cf1d502 commit 33a0fd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/ledger_suite/common/ledger_canister_core/src/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub enum TransferError<Tokens> {
const APPROVE_PRUNE_LIMIT: usize = 100;

/// Adds a new block with the specified transaction to the ledger.
/// Prune balances and allowances if necessary.
/// Trim balances if necessary.
pub fn apply_transaction<L>(
ledger: &mut L,
transaction: L::Transaction,
Expand All @@ -225,7 +225,7 @@ where
}

/// Adds a new block with the specified transaction to the ledger.
/// Do not perform any balance or allowance prunning.
/// Do not perform any balance trimming.
pub fn apply_transaction_no_prunning<L>(
ledger: &mut L,
transaction: L::Transaction,
Expand Down

0 comments on commit 33a0fd6

Please sign in to comment.