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