diff --git a/runtimes/shared-configuration/src/currency.rs b/runtimes/shared-configuration/src/currency.rs index d922681e6..0f6e38ca2 100644 --- a/runtimes/shared-configuration/src/currency.rs +++ b/runtimes/shared-configuration/src/currency.rs @@ -33,7 +33,8 @@ 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)]