mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-21 19:26:21 +00:00
style: fix formatting in StakingSessionManager
This commit is contained in:
1 parent
3514625d25
commit
7cc2f831b4
1 file changed
+1
-2
@@ -330,8 +330,7 @@ impl pezpallet_session::SessionManager<AccountId> for StakingSessionManager {
|
||||
<CollatorSelection as pezpallet_session::SessionManager<AccountId>>::end_session(end_index);
|
||||
|
||||
// Build local SessionReport for staking era progression
|
||||
let current_era =
|
||||
pezpallet_staking_async::CurrentEra::<Runtime>::get().unwrap_or(0);
|
||||
let current_era = pezpallet_staking_async::CurrentEra::<Runtime>::get().unwrap_or(0);
|
||||
let active_era_idx = pezpallet_staking_async::ActiveEra::<Runtime>::get()
|
||||
.map(|e| e.index)
|
||||
.unwrap_or(0);
|
||||
|
||||
Reference in new issue
Block a user