mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Make claim_slot take &mut self (#1225)
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user