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