mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 10:52:43 +00:00
17 lines
293 B
Rust
17 lines
293 B
Rust
/*
|
|
use types::*;
|
|
|
|
impl StoreEncode for Hash256 {
|
|
fn as_store_bytes(&self) -> Vec<u8> {
|
|
self.as_bytes().to_vec()
|
|
}
|
|
}
|
|
|
|
impl StoreDecode for Hash256 {
|
|
fn from_store_bytes(bytes: &mut [u8]) -> Vec<u8> {
|
|
Hash256::from_slice()
|
|
self.as_bytes().to_vec()
|
|
}
|
|
}
|
|
*/
|