mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-08 10:07:22 +00:00
Bridge: slash destination may be an explicit account (#4106)
Extracted to a separate PR as requested here: https://github.com/paritytech/parity-bridges-common/pull/2873#discussion_r1562459573
This commit is contained in:
committed by
GitHub
parent
2bc4ed1153
commit
6acf4787e1
@@ -106,7 +106,7 @@ benchmarks! {
|
||||
let slash_destination = RewardsAccountParams::new(lane, *b"test", RewardsAccountOwner::ThisChain);
|
||||
T::prepare_rewards_account(slash_destination, Zero::zero());
|
||||
}: {
|
||||
crate::Pallet::<T>::slash_and_deregister(&relayer, slash_destination)
|
||||
crate::Pallet::<T>::slash_and_deregister(&relayer, slash_destination.into())
|
||||
}
|
||||
verify {
|
||||
assert!(!crate::Pallet::<T>::is_registration_active(&relayer));
|
||||
|
||||
Reference in New Issue
Block a user