From 0007fbdd3b2363eae12926d7f7975b3a83ececd9 Mon Sep 17 00:00:00 2001 From: gupnik <17176722+gupnik@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:17:12 +0530 Subject: [PATCH] FMT --- substrate/frame/collective/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/substrate/frame/collective/src/lib.rs b/substrate/frame/collective/src/lib.rs index b29394c02fdd..e2103b54ba71 100644 --- a/substrate/frame/collective/src/lib.rs +++ b/substrate/frame/collective/src/lib.rs @@ -1080,7 +1080,10 @@ impl, I: 'static> Pallet { } // Only allow actual closing of the proposal after the voting period has ended. - ensure!(T::BlockNumberProvider::current_block_number() >= voting.end, Error::::TooEarly); + ensure!( + T::BlockNumberProvider::current_block_number() >= voting.end, + Error::::TooEarly + ); let prime_vote = Prime::::get().map(|who| voting.ayes.iter().any(|a| a == &who));