Skip to content
Snippets Groups Projects

Fix #194 session indexing error

Merged Benjamin Gallois requested to merge 194-fix-current-session into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading