We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b93ada commit b1232f5Copy full SHA for b1232f5
src/contract/contract.rs
@@ -95,7 +95,7 @@ impl FromStr for Opout {
95
/// Trait used by contract state. Unlike [`ExposedState`] it doesn't allow
96
/// concealment of the state, i.e. may contain incomplete data without blinding
97
/// factors, asset tags etc.
98
-pub trait KnownState: Debug + StrictDumb + StrictEncode + StrictDecode + Ord + Clone {}
+pub trait KnownState: Debug + StrictDumb + StrictEncode + StrictDecode + Eq + Clone {}
99
impl<S: ExposedState> KnownState for S {}
100
101
impl KnownState for () {}
0 commit comments