From a8bbc5161fe935ed5e34db2a481961bdb7420499 Mon Sep 17 00:00:00 2001 From: MedovTimur Date: Mon, 9 Dec 2024 16:35:40 +0300 Subject: [PATCH] fix clippy --- vft-service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vft-service/src/lib.rs b/vft-service/src/lib.rs index 69c1325..0ef3a28 100644 --- a/vft-service/src/lib.rs +++ b/vft-service/src/lib.rs @@ -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,