From f8b4d49db1cf5550838d5034f3a3be1510a6a800 Mon Sep 17 00:00:00 2001 From: yooml Date: Thu, 22 Feb 2024 18:18:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Approved=20(#1196)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/bifrost-kusama/src/migration.rs | 2 +- runtime/bifrost-polkadot/src/migration.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/bifrost-kusama/src/migration.rs b/runtime/bifrost-kusama/src/migration.rs index 5c2b4ac9d..93a216a48 100644 --- a/runtime/bifrost-kusama/src/migration.rs +++ b/runtime/bifrost-kusama/src/migration.rs @@ -142,7 +142,7 @@ pub mod v1 { if let Some(a) = &item[0].deposit2 { d = Some(Deposit { amount: a.amount, who: a.who.clone() }) } - Some(ReferendumInfo::Rejected(e, s, d)) + Some(ReferendumInfo::Approved(e, s, d)) }, v0::ReferendumInfo::Rejected(e, mut s, mut d) => { if let Some(a) = &item[0].deposit1 { diff --git a/runtime/bifrost-polkadot/src/migration.rs b/runtime/bifrost-polkadot/src/migration.rs index bf2f56b53..3e5bcdd07 100644 --- a/runtime/bifrost-polkadot/src/migration.rs +++ b/runtime/bifrost-polkadot/src/migration.rs @@ -142,7 +142,7 @@ pub mod v1 { if let Some(a) = &item[0].deposit2 { d = Some(Deposit { amount: a.amount, who: a.who.clone() }) } - Some(ReferendumInfo::Rejected(e, s, d)) + Some(ReferendumInfo::Approved(e, s, d)) }, v0::ReferendumInfo::Rejected(e, mut s, mut d) => { if let Some(a) = &item[0].deposit1 {