Skip to content

Commit 6162161

Browse files
committed
Do not call migration that removes tao flows
1 parent 4e4addd commit 6162161

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pallets/subtensor/src/macros/hooks.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ mod hooks {
159159
// Migrate Kappa to default (0.5)
160160
.saturating_add(migrations::migrate_kappa_map_to_default::migrate_kappa_map_to_default::<T>())
161161
// Remove obsolete map entries
162-
.saturating_add(migrations::migrate_remove_tao_dividends::migrate_remove_tao_dividends::<T>())
163-
// Re-init tao flows
164-
.saturating_add(migrations::migrate_init_tao_flow::migrate_init_tao_flow::<T>());
162+
.saturating_add(migrations::migrate_remove_tao_dividends::migrate_remove_tao_dividends::<T>());
165163
weight
166164
}
167165

0 commit comments

Comments
 (0)