mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Make TestExternalities implement Send (#4030)
* Make `TestExternalities` implement `Send` + `Sync` * Fixes offchain * Make it just `Send`
This commit is contained in:
committed by
Gavin Wood
parent
b484c4fbc0
commit
3022d60d92
@@ -192,4 +192,10 @@ mod tests {
|
||||
|
||||
assert_eq!(&ext.storage(CODE).unwrap(), &code);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn check_send() {
|
||||
fn assert_send<T: Send>() {}
|
||||
assert_send::<TestExternalities::<Blake2Hasher, u64>>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user