Skip to content

Commit

Permalink
fix: 🐛 Approved (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
yooml committed Feb 22, 2024
1 parent 8d08c3f commit f8b4d49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/bifrost-kusama/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion runtime/bifrost-polkadot/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f8b4d49

Please sign in to comment.