Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnReedV committed Jul 24, 2024
1 parent dc9ee3d commit 3233133
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pallets/subtensor/src/migrations/migrate_chain_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ pub fn migrate_set_hotkey_identities<T: Config>() -> Weight {
&& identity.description.len() <= 1024
&& identity.additional.len() <= 1024;
if !is_valid {
log::info!(
"Bytes not correct"
);
log::info!("Bytes not correct");
continue;
}

Expand All @@ -157,9 +155,7 @@ pub fn migrate_set_hotkey_identities<T: Config>() -> Weight {
weight = weight.saturating_add(T::DbWeight::get().writes(1));
}
} else {
log::info!(
"Failed to decode JSON"
);
log::info!("Failed to decode JSON");
}
// Mark the migration as completed
HasMigrationRun::<T>::insert(&migration_name, true);
Expand Down

0 comments on commit 3233133

Please sign in to comment.