mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 09:08:06 +00:00
17abfb49b2
* Refactor: simplify module call definitions * Fix compilation errors after merge * Add missing comments and remove unused imports * Now it compiles
11 lines
178 B
Rust
11 lines
178 B
Rust
use parity_scale_codec::Encode;
|
|
|
|
#[derive(Clone)]
|
|
pub struct Encoded(pub Vec<u8>);
|
|
|
|
impl Encode for Encoded {
|
|
fn encode(&self) -> Vec<u8> {
|
|
self.0.to_owned()
|
|
}
|
|
}
|