mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 18:51:02 +00:00
Removed pallet::getter usage from Beefy and MMR pallets (#3740)
Part of #3326 cc @kianenigma @ggwpez @liamaharon polkadot address: 12poSUQPtcF1HUPQGY3zZu2P8emuW9YnsPduA4XG3oCEfJVp --------- Signed-off-by: Matteo Muraca <mmuraca247@gmail.com>
This commit is contained in:
@@ -190,7 +190,7 @@ where
|
||||
evidence: EquivocationEvidenceFor<T>,
|
||||
) -> Result<(), DispatchError> {
|
||||
let (equivocation_proof, key_owner_proof) = evidence;
|
||||
let reporter = reporter.or_else(|| <pallet_authorship::Pallet<T>>::author());
|
||||
let reporter = reporter.or_else(|| pallet_authorship::Pallet::<T>::author());
|
||||
let offender = equivocation_proof.offender_id().clone();
|
||||
|
||||
// We check the equivocation within the context of its set id (and
|
||||
|
||||
Reference in New Issue
Block a user