Fix up bonding period. (#396)

This commit is contained in:
Gavin Wood
2019-08-24 12:04:16 +02:00
committed by GitHub
parent 908473c26b
commit 9011168ee1
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -278,8 +278,10 @@ impl session::historical::Trait for Runtime {
}
parameter_types! {
// Six sessions in an era (24 hours).
pub const SessionsPerEra: SessionIndex = 6;
pub const BondingDuration: staking::EraIndex = 24 * 28;
// 28 eras for unbonding (28 days).
pub const BondingDuration: staking::EraIndex = 28;
}
impl staking::Trait for Runtime {