From 2b59903039770df4766c9681bc74691382308ef5 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sun, 7 Jan 2024 13:26:45 +0100 Subject: [PATCH] contract: impl Hash and Ord for AssignmentWitness --- src/contract/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contract/contract.rs b/src/contract/contract.rs index b4a8fd8f..ec33aea2 100644 --- a/src/contract/contract.rs +++ b/src/contract/contract.rs @@ -101,7 +101,7 @@ impl 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)] #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] #[strict_type(lib = LIB_NAME_RGB, tags = custom)] #[cfg_attr(