Skip to content

Commit

Permalink
oops again
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Aug 31, 2023
1 parent 23c74cb commit 9be062f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/tests/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn test_migration_fix_total_stake_maps_wrong_entries() {
// Mess up the total hotkey stake
pallet_subtensor::TotalHotkeyStake::<Test>::insert(hk1, 0);
// Verify that the total hotkey stake is now wrong
assert_ne!(SubtensorModule::get_total_stake_for_hotkey(&hk1), 0);
assert_eq!(SubtensorModule::get_total_stake_for_hotkey(&hk1), 0);

// Run the migration to fix the total stake maps
pallet_subtensor::migration::migrate_to_v2_fixed_total_stake::<Test>();
Expand Down

0 comments on commit 9be062f

Please sign in to comment.