mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 16:09:52 +00:00
Encode Metadata once instead of two times (#946)
This commit is contained in:
1 parent
1ba73e0e88
commit
6244b6a3b9
6 files changed
+17
-23
No files matched your search
@@ -436,8 +436,8 @@ decl_apis! {
|
||||
}
|
||||
|
||||
/// The `Metadata` api trait that returns metadata for the runtime.
|
||||
pub trait Metadata {
|
||||
fn metadata() -> Vec<u8>;
|
||||
pub trait Metadata<Data> {
|
||||
fn metadata() -> Data;
|
||||
}
|
||||
|
||||
/// The `OldTxQueue` api trait for interfering with the old transaction queue.
|
||||
|
||||
Reference in new issue
Block a user