Skip to content

Commit

Permalink
use constant for units
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoka committed May 7, 2024
1 parent 4e26854 commit aeae57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/basilisk/src/governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

use super::*;
use primitives::constants::{
currency::{deposit, CENTS, DOLLARS},
currency::{deposit, CENTS, DOLLARS, UNITS},
time::{DAYS, HOURS},
};

Expand Down Expand Up @@ -191,7 +191,7 @@ parameter_types! {
pub const TipReportDepositBase: Balance = 10 * DOLLARS;
pub const TipReportDepositPerByte: Balance = CENTS;
pub const MaximumReasonLength: u32 = 1024;
pub const MaxTipAmount: u128 = 200_000_000 * 1_000_000_000_000;
pub const MaxTipAmount: u128 = 200_000_000 * UNITS;
}

impl pallet_tips::Config for Runtime {
Expand Down

0 comments on commit aeae57f

Please sign in to comment.