Function pallet_elections_phragmen::migrations::v5::migrate
source · Expand description
Migrate the locks and vote stake on accounts (as specified with param to_migrate
) that have
more than their free balance locked.
This migration addresses a bug were a voter could lock up to their reserved balance + free balance. Since locks are only designed to operate on free balance, this put those affected in a situation where they could increase their free balance but still not be able to use their funds because they were less than the lock.