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.

* 🤦
This commit is contained in:
Bastian Köcher
2021-11-16 14:02:04 +01:00
committed by GitHub
parent 12cf771a7a
commit 41218ba184
+1 -1
View File
@@ -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."
);