From 667a3587c2b937b3da699e24c479a6e98322abca Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 3 Sep 2024 13:36:01 +0800 Subject: [PATCH] Fix --- runtime/crab/src/migration.rs | 2 +- runtime/darwinia/src/migration.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/crab/src/migration.rs b/runtime/crab/src/migration.rs index f89cf2d2a..1c89863ce 100644 --- a/runtime/crab/src/migration.rs +++ b/runtime/crab/src/migration.rs @@ -77,7 +77,7 @@ fn migrate() -> frame_support::weights::Weight { } } if let Ok(who) = - aray_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7") + array_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7") { >::put(who); } diff --git a/runtime/darwinia/src/migration.rs b/runtime/darwinia/src/migration.rs index a7dcb86a0..640b455fa 100644 --- a/runtime/darwinia/src/migration.rs +++ b/runtime/darwinia/src/migration.rs @@ -85,7 +85,7 @@ fn migrate() -> frame_support::weights::Weight { } } if let Ok(who) = - aray_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7") + array_bytes::hex_n_into::<_, AccountId, 20>("0xDeC9cD45e921F2AedE72f694743265af37d47Fa7") { >::put(who); }