Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MedovTimur committed Dec 9, 2024
1 parent 17c7f62 commit a8bbc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vft-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl Service {
pub fn seed(name: String, symbol: String, decimals: u8) -> Self {
unsafe {
STORAGE = Some(Storage {
balances: HashMap::with_capacity(10_000_000 as usize),
balances: HashMap::with_capacity(10_000_000_usize),
allowances: HashMap::with_capacity(u16::MAX as usize),
meta: Metadata {
name,
Expand Down

0 comments on commit a8bbc51

Please sign in to comment.