Make claim_slot take &mut self (#1225)

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Nazar Mokrynskyi
2023-08-29 12:37:02 +03:00
committed by GitHub
parent 0400ed9075
commit b728724318
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ pub trait SimpleSlotWorker<B: BlockT> {
/// Tries to claim the given slot, returning an object with claim data if successful.
async fn claim_slot(
&self,
&mut self,
header: &B::Header,
slot: Slot,
aux_data: &Self::AuxData,