chore: Move hash logic out of primitives (#172)
This commit is contained in:
parent
f75d9aff9f
commit
4128d2d70a
12 changed files with 292 additions and 327 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue