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