Skip to content

Commit

Permalink
good fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Ignacio Rios <juani.rios.99@gmail.com>
  • Loading branch information
JuaniRios committed Feb 20, 2024
1 parent 5900e9d commit d0dd41c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtimes/shared-configuration/src/currency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit d0dd41c

Please sign in to comment.