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

+2 -2
View File
@@ -371,7 +371,7 @@ where
}
async fn claim_slot(
&self,
&mut self,
_header: &B::Header,
slot: Slot,
authorities: &Self::AuxData,
@@ -790,7 +790,7 @@ mod tests {
let client = peer.client().as_client();
let environ = DummyFactory(client.clone());
let worker = AuraWorker {
let mut worker = AuraWorker {
client: client.clone(),
block_import: client,
env: environ,