Files
pezkuwi-subxt/src/codec.rs
T
Andrew Jones 17abfb49b2 Refactor: simplify module call definitions (#24)
* Refactor: simplify module call definitions

* Fix compilation errors after merge

* Add missing comments and remove unused imports

* Now it compiles
2019-11-21 17:53:45 +00:00

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()
}
}