mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +00:00
Change the import queue traits to take &mut self instead of &self (#3058)
* SharedFinalityProofRequestBuilder -> BoxFinalityProofRequestBuilder * SharedThings -> BoxThings * Fix tests * build_request_data now takes &mut self * The other traits now also take &mut self * More or less fix tests * Fix tests * Fix more tests * Moar tests * Don't call make_block_import multiple time * Fix doctest
This commit is contained in:
1 parent
e729dbabbe
commit
d7b6720663
21 files changed
+268
-150
No files matched your search
@@ -176,5 +176,5 @@ fn import_block<F>(
|
||||
auxiliary: Vec::new(),
|
||||
fork_choice: ForkChoiceStrategy::LongestChain,
|
||||
};
|
||||
client.import_block(import, HashMap::new()).expect("Failed to import block");
|
||||
(&**client).import_block(import, HashMap::new()).expect("Failed to import block");
|
||||
}
|
||||
Reference in new issue
Block a user