mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
Make DefaultByte implement Send + Sync (#3333)
* Make `DefaultByte` implement `Send + Sync` * Update runtime version.
This commit is contained in:
committed by
David Craven
parent
46709e8381
commit
ea58b7c92a
@@ -210,7 +210,7 @@ pub struct ModuleConstantMetadata {
|
||||
}
|
||||
|
||||
/// A technical trait to store lazy initiated vec value as static dyn pointer.
|
||||
pub trait DefaultByte {
|
||||
pub trait DefaultByte: Send + Sync {
|
||||
fn default_byte(&self) -> Vec<u8>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user