diff --git a/state-chain/pallets/cf-funding/src/lib.rs b/state-chain/pallets/cf-funding/src/lib.rs index 46b879d4a0..0bee31b659 100644 --- a/state-chain/pallets/cf-funding/src/lib.rs +++ b/state-chain/pallets/cf-funding/src/lib.rs @@ -639,7 +639,7 @@ pub mod pallet { /// /// - [BadOrigin](frame_support::error::BadOrigin) #[pallet::call_index(7)] - #[pallet::weight(T::WeightInfo::update_restricted_addresses(addresses_to_add.len() as u32, addresses_to_remove.len() as u32, 10 as u32))] + #[pallet::weight(T::WeightInfo::update_restricted_addresses(addresses_to_add.len() as u32, addresses_to_remove.len() as u32, 10_u32))] pub fn update_restricted_addresses( origin: OriginFor, addresses_to_add: Vec,