Skip to content

Commit

Permalink
Correct the semantics of the offence slasher generic parameters (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII authored Dec 21, 2023
1 parent ce26277 commit 2e9d1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/humanode-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,14 +577,14 @@ pub struct OffenceSlasher;
impl
sp_staking::offence::OnOffenceHandler<
AccountId,
pallet_im_online::IdentificationTuple<Runtime>,
<Runtime as pallet_offences::Config>::IdentificationTuple,
Weight,
> for OffenceSlasher
{
fn on_offence(
offenders: &[sp_staking::offence::OffenceDetails<
AccountId,
pallet_im_online::IdentificationTuple<Runtime>,
<Runtime as pallet_offences::Config>::IdentificationTuple,
>],
_slash_fraction: &[Perbill],
_session: sp_staking::SessionIndex,
Expand Down

0 comments on commit 2e9d1e0

Please sign in to comment.