mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 01:27:56 +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() {
|
||||
assert!(
|
||||
schedules.len() == 1,
|
||||
schedules.len() >= 1,
|
||||
"A bounded vec with incorrect count of items was created."
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user