Skip to content

Commit bc4a34e

Browse files
committed
feat: apply review comments
1 parent de93437 commit bc4a34e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pallets/xc-asset-config/src/migrations.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ mod unchecked_migration {
4747
impl<const XCM_VERSION: u32, T: Config> UncheckedOnRuntimeUpgrade
4848
for UncheckedMigrationXcmVersion<XCM_VERSION, T>
4949
{
50-
#[allow(deprecated)]
5150
fn on_runtime_upgrade() -> Weight {
5251
let mut consumed_weight = Weight::zero();
5352

@@ -67,7 +66,7 @@ mod unchecked_migration {
6766
},
6867
);
6968

70-
// 2rd map
69+
// 2nd map
7170
let location_to_id_entries: Vec<_> = AssetLocationToId::<T>::drain().collect();
7271
for (multi_location, asset_id) in location_to_id_entries {
7372
consumed_weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1));

0 commit comments

Comments
 (0)