feat: implement custom op check (#92)
* Implement custom op check * Example
This commit is contained in:
parent
a37b96ab4f
commit
af46ab7a8d
5 changed files with 372 additions and 5 deletions
|
|
@ -185,6 +185,12 @@ impl FromHex for Hash {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<&str> for Hash {
|
||||
fn from(s: &str) -> Self {
|
||||
hash_str(s)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Default)]
|
||||
pub struct PodId(pub Hash);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue