mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
Fix staking bug (#5170)
* fix staking bug * add some guarantee note in SessionManager while it is not fixed in staking * bumpd impl version
This commit is contained in:
1 parent
3a792a55cd
commit
71ff24c79e
2 files changed
+7
-10
No files matched your search
@@ -156,6 +156,8 @@ pub trait SessionManager<ValidatorId> {
|
||||
/// `new_index` is strictly greater than from previous call.
|
||||
///
|
||||
/// The first session start at index 0.
|
||||
///
|
||||
/// `new_session(session)` is guaranteed to be called before `end_session(session-1)`.
|
||||
fn new_session(new_index: SessionIndex) -> Option<Vec<ValidatorId>>;
|
||||
/// End the session.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user