Get chatter between shard and core working

This commit is contained in:
James Wilson committed 2021-06-16 11:57:58 +01:00
1 parent 2b0accbbb6
commit 3a527e69c8
2 files changed
+9 -1

No files matched your search

+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 {