mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 05:51:02 +00:00
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:
@@ -70,7 +70,7 @@ pub(crate) mod v1 {
|
|||||||
|
|
||||||
for (_key, schedules) in Vesting::<T>::iter() {
|
for (_key, schedules) in Vesting::<T>::iter() {
|
||||||
assert!(
|
assert!(
|
||||||
schedules.len() == 1,
|
schedules.len() >= 1,
|
||||||
"A bounded vec with incorrect count of items was created."
|
"A bounded vec with incorrect count of items was created."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user