Skip to content

Commit

Permalink
contract: impl Hash and Ord for AssignmentWitness
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 7, 2024
1 parent b1232f5 commit 2b59903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl<S: ExposedState> KnownState for S {}
impl KnownState for () {}
impl KnownState for DataState {}

#[derive(Copy, Clone, Eq, PartialEq, Debug, Display, From)]
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Display, From)]

Check warning on line 104 in src/contract/contract.rs

View check run for this annotation

Codecov / codecov/patch

src/contract/contract.rs#L104

Added line #L104 was not covered by tests
#[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)]
#[strict_type(lib = LIB_NAME_RGB, tags = custom)]
#[cfg_attr(
Expand Down

0 comments on commit 2b59903

Please sign in to comment.