From 109d7ce1903fd5b29bd1811e8be82158acd096d6 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Wed, 23 Oct 2024 11:18:21 +0200 Subject: [PATCH] fix clippy --- runtime/bajun/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/bajun/src/lib.rs b/runtime/bajun/src/lib.rs index eddf0d4..f15df49 100644 --- a/runtime/bajun/src/lib.rs +++ b/runtime/bajun/src/lib.rs @@ -504,7 +504,7 @@ parameter_types! { parameter_types! { pub TreasuryAccount: AccountId = Treasury::account_id(); pub const SpendPayoutPeriod: u32 = 6 * DAYS; - pub const MaxBalance: Balance = Balance::max_value(); + pub const MaxBalance: Balance = Balance::MAX; } impl pallet_treasury::Config for Runtime {