Skip to content

Commit 8f94bff

Browse files
committed
Make 2/3 council greather than or equal
1 parent 61838ac commit 8f94bff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

runtime/mainnet/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ pub fn native_version() -> NativeVersion {
309309
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
310310
}
311311

312-
/// Privileged origin that represents Root or more than two thirds of the Council.
312+
/// Privileged origin that represents Root or two thirds of the Council.
313313
pub type RootOrCouncilTwoThirdsMajority = EitherOfDiverse<
314314
EnsureRoot<AccountId>,
315-
pallet_collective::EnsureProportionMoreThan<AccountId, CouncilCollective, 2, 3>,
315+
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 2, 3>,
316316
>;
317317

318318
parameter_types! {

runtime/testnet/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ pub fn native_version() -> NativeVersion {
320320
NativeVersion { runtime_version: VERSION, can_author_with: Default::default() }
321321
}
322322

323-
/// Privileged origin that represents Root or more than two thirds of the Council.
323+
/// Privileged origin that represents Root or two thirds of the Council.
324324
pub type RootOrCouncilTwoThirdsMajority = EitherOfDiverse<
325325
EnsureRoot<AccountId>,
326-
pallet_collective::EnsureProportionMoreThan<AccountId, CouncilCollective, 2, 3>,
326+
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 2, 3>,
327327
>;
328328

329329
parameter_types! {

0 commit comments

Comments
 (0)