diff --git a/runtimes/shared-configuration/src/currency.rs b/runtimes/shared-configuration/src/currency.rs index 0f6e38ca2..d922681e6 100644 --- a/runtimes/shared-configuration/src/currency.rs +++ b/runtimes/shared-configuration/src/currency.rs @@ -33,8 +33,7 @@ pub const DEPOSIT_STORAGE_BYTE: Balance = 100 * MICRO_PLMC; pub const US_DOLLAR: Balance = 1_0_000_000_000u128; -pub const fn deposit(items: u32, bytes: u32) -> Balance { - (items as Balance * DEPOSIT_STORAGE_ITEM + (bytes as Balance) * DEPOSIT_STORAGE_BYTE) / 100 +pub const fn deposit(items: u32, bytes: u32) -> Balance { (items as Balance * DEPOSIT_STORAGE_ITEM + (bytes as Balance) * DEPOSIT_STORAGE_BYTE) / 100 } #[inline(always)]