From 528aeb0ac39ab4efb6766c0fb97edb470caa70eb Mon Sep 17 00:00:00 2001 From: Alessandro Siniscalchi Date: Tue, 22 Oct 2024 12:13:05 +0200 Subject: [PATCH] fix compilation --- runtime/laos/src/configs/timestamp.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/laos/src/configs/timestamp.rs b/runtime/laos/src/configs/timestamp.rs index 0330068d..8b448299 100644 --- a/runtime/laos/src/configs/timestamp.rs +++ b/runtime/laos/src/configs/timestamp.rs @@ -14,17 +14,17 @@ // You should have received a copy of the GNU General Public License // along with LAOS. If not, see . -use crate::{weights, Aura, Runtime, MILLISECS_PER_BLOCK}; +use crate::{weights, Aura, Runtime}; use frame_support::parameter_types; parameter_types! { - pub const MinimumPeriod: u64 = MILLISECS_PER_BLOCK / 2; + pub const MinimumPeriod: u64 = 0; } impl pallet_timestamp::Config for Runtime { /// A timestamp: milliseconds since the unix epoch. type Moment = u64; type OnTimestampSet = Aura; - type MinimumPeriod = ConstU64<0>; + type MinimumPeriod = MinimumPeriod; type WeightInfo = weights::pallet_timestamp::WeightInfo; }