Fix #194 session indexing error
Closes #194 (closed)
The on_new_session
function from the pallet handler was not added to the runtime's OnNewSessionHandler
. As a result, the on_new_session
function was only called at genesis, causing the expiresOn
value to always be 0 plus SmithInactivityMaxDuration
, and the inactive smiths were never removed.
Edited by Benjamin Gallois
Merge request reports
Activity
Filter activity
changed milestone to %runtime-801
added C-runtime P2-asap RN-runtime labels
assigned to @bgallois
added 1 commit
- cd9472e7 - fix https://git.duniter.org/nodes/rust/duniter-v2s/-/issues/194
requested review from @HugoTrentesaux
mentioned in commit 95e85915
Please register or sign in to reply