Skip to content

Commit

Permalink
deposits visible for crate
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Feb 27, 2024
1 parent 75a23ce commit 222e894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ pub const MICROUNIT: Balance = 1_000_000;

// Deposits

pub const fn deposit(items: u32, bytes: u32) -> Balance {
pub (crate) const fn deposit(items: u32, bytes: u32) -> Balance {
(items as Balance * UNIT + (bytes as Balance) * (5 * MILLIUNIT / 100)) / 10
}

Expand Down

0 comments on commit 222e894

Please sign in to comment.