Make claim_slot take &mut self (#1225)

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Nazar MokrynskyiandBastian Köcher authored and GitHub committed 2023-08-29 11:37:02 +02:00
1 parent 0400ed9075
commit b728724318
3 files changed
+6 -6

No files matched your search

+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,