mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +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
@@ -289,7 +289,7 @@ impl<'a> From<&'a [Capability]> for Capabilities {
|
||||
}
|
||||
|
||||
/// An extended externalities for offchain workers.
|
||||
pub trait Externalities {
|
||||
pub trait Externalities: Send {
|
||||
/// Returns if the local node is a potential validator.
|
||||
///
|
||||
/// Even if this function returns `true`, it does not mean that any keys are configured
|
||||
|
||||
Reference in New Issue
Block a user