Get chatter between shard and core working

This commit is contained in:
James Wilson
2021-06-16 11:57:58 +01:00
parent 2b0accbbb6
commit 3a527e69c8
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -18,6 +18,12 @@ impl From<Hash> for crate::types::BlockHash {
}
}
impl From<crate::types::BlockHash> for Hash {
fn from(hash: crate::types::BlockHash) -> Self {
Hash(hash.0)
}
}
struct HashVisitor;
impl<'de> Visitor<'de> for HashVisitor {