Function pallet_beefy::pallet::dispatchables::report_double_voting
source · pub fn report_double_voting<T: Config>(
equivocation_proof: Box<DoubleVotingProof<BlockNumberFor<T>, T::BeefyId, <T::BeefyId as RuntimeAppPublic>::Signature>>,
key_owner_proof: T::KeyOwnerProof,
)
Expand description
Report voter equivocation/misbehavior. This method will verify the equivocation proof and validate the given key ownership proof against the extracted offender. If both are valid, the offence will be reported.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::report_double_voting
.