Support Staking Payout to Any Account (#6832)

* Support staking payout to any account

* fix offences benchmarks
This commit is contained in:
Shawn Tabrizi
2020-08-26 18:26:33 +02:00
committed by GitHub
parent 1bd6082cf7
commit e69d12e76c
3 changed files with 43 additions and 12 deletions
@@ -125,7 +125,7 @@ fn create_offender<T: Trait>(n: u32, nominators: u32) -> Result<Offender<T>, &'s
RawOrigin::Signed(nominator_stash.clone()).into(),
nominator_controller_lookup.clone(),
amount.clone(),
reward_destination,
reward_destination.clone(),
)?;
let selected_validators: Vec<LookupSourceOf<T>> = vec![controller_lookup.clone()];