chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -1582,8 +1582,8 @@ impl<T: Config> StakingInterface for Pezpallet<T> {
|
||||
}
|
||||
|
||||
fn set_payee(stash: &Self::AccountId, reward_acc: &Self::AccountId) -> DispatchResult {
|
||||
// Since virtual stakers are not allowed to compound their rewards as this pezpallet does not
|
||||
// manage their locks, we do not allow reward account to be set same as stash. For
|
||||
// Since virtual stakers are not allowed to compound their rewards as this pezpallet does
|
||||
// not manage their locks, we do not allow reward account to be set same as stash. For
|
||||
// external pallets that manage the virtual bond, they can claim rewards and re-bond them.
|
||||
ensure!(
|
||||
!Self::is_virtual_staker(stash) || stash != reward_acc,
|
||||
|
||||
Reference in New Issue
Block a user