mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-04 16:27:07 +00:00
Use Pin<Box<>> for collation future (#1792)
This commit is contained in:
1 parent
7f4646505a
commit
2b798f8571
4 files changed
+5
-4
No files matched your search
@@ -1876,7 +1876,7 @@ mod tests {
|
||||
fn test_collator_generation_msg() -> CollationGenerationMessage {
|
||||
CollationGenerationMessage::Initialize(CollationGenerationConfig {
|
||||
key: CollatorPair::generate().0,
|
||||
collator: Box::new(|_, _| Box::new(TestCollator)),
|
||||
collator: Box::new(|_, _| TestCollator.boxed()),
|
||||
para_id: Default::default(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user