Skip to content
Snippets Groups Projects
Commit 41218ba1 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Vesting: Fix `post_migration` check (#10280)

* Vesting: Fix `post_migration` check

As the vesting migration could already have been done, people could already have started to merge schedules.

* :face_palm:
parent 12cf771a
No related merge requests found
......@@ -70,7 +70,7 @@ pub(crate) mod v1 {
for (_key, schedules) in Vesting::<T>::iter() {
assert!(
schedules.len() == 1,
schedules.len() >= 1,
"A bounded vec with incorrect count of items was created."
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment