chore: Move hash logic out of primitives (#172)

This commit is contained in:
Santiago Carmuega 2022-08-13 12:24:35 -03:00 committed by GitHub
parent f75d9aff9f
commit 4128d2d70a
12 changed files with 292 additions and 327 deletions

View file

@ -27,7 +27,3 @@ where
pub trait ToCanonicalJson {
fn to_json(&self) -> serde_json::Value;
}
pub trait ToHash<const BYTES: usize> {
fn to_hash(&self) -> pallas_crypto::hash::Hash<BYTES>;
}