From 8ad2cf1c31f82381eeb557c7be35b01eeb0773ee Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Thu, 17 Nov 2022 11:10:12 +1100 Subject: [PATCH] Derive `Eq` and `PartialEq` for `ScriptStatus` Needed so we can compare it. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cf1cb7a..01839f7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -393,7 +393,7 @@ where } } -#[derive(Debug, Copy, Clone)] +#[derive(Debug, Copy, Clone, Eq, PartialEq)] pub enum ScriptStatus { Unseen, InMempool,