Skip to content

Commit

Permalink
Merge pull request #62 from PureStake/notlesh-fix-try-runtime
Browse files Browse the repository at this point in the history
Fix try-runtime
  • Loading branch information
notlesh committed Jun 21, 2022
2 parents 920397b + c135573 commit 08859fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/author-slot-filter/src/migration.rs
Expand Up @@ -63,7 +63,7 @@ where
#[cfg(feature = "try-runtime")]
fn post_upgrade() -> Result<(), &'static str> {
let expected = Self::get_temp_storage::<NonZeroU32>("expected_eligible_count");
let actual = <Pallet<T>>::eligible_count();
let actual = Some(<Pallet<T>>::eligible_count());

assert_eq!(expected, actual);

Expand Down

0 comments on commit 08859fd

Please sign in to comment.