Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejdfinity committed Dec 4, 2024
1 parent 813da56 commit ab6fbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/ledger_suite/icrc1/ledger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ impl Ledger {
.collect(),
max_memo_length: max_memo_length.unwrap_or(DEFAULT_MAX_MEMO_LENGTH),
feature_flags: feature_flags.unwrap_or_default(),
maximum_number_of_accounts: MAX_ACCOUNTS.try_into().unwrap(),
accounts_overflow_trim_quantity: ACCOUNTS_OVERFLOW_TRIM_QUANTITY.try_into().unwrap(),
maximum_number_of_accounts: MAX_ACCOUNTS,
accounts_overflow_trim_quantity: ACCOUNTS_OVERFLOW_TRIM_QUANTITY,
ledger_version: LEDGER_VERSION,
};

Expand Down

0 comments on commit ab6fbc1

Please sign in to comment.