Skip to content

Commit

Permalink
bad fmt test
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 1f227a7 commit 5900e9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtimes/shared-configuration/src/currency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 5900e9d

Please sign in to comment.