Skip to content

Commit 3233133

Browse files
committed
fmt
1 parent dc9ee3d commit 3233133

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pallets/subtensor/src/migrations/migrate_chain_identity.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ pub fn migrate_set_hotkey_identities<T: Config>() -> Weight {
140140
&& identity.description.len() <= 1024
141141
&& identity.additional.len() <= 1024;
142142
if !is_valid {
143-
log::info!(
144-
"Bytes not correct"
145-
);
143+
log::info!("Bytes not correct");
146144
continue;
147145
}
148146

@@ -157,9 +155,7 @@ pub fn migrate_set_hotkey_identities<T: Config>() -> Weight {
157155
weight = weight.saturating_add(T::DbWeight::get().writes(1));
158156
}
159157
} else {
160-
log::info!(
161-
"Failed to decode JSON"
162-
);
158+
log::info!("Failed to decode JSON");
163159
}
164160
// Mark the migration as completed
165161
HasMigrationRun::<T>::insert(&migration_name, true);

0 commit comments

Comments
 (0)