Add standard derives for ConfirmationTarget
[rust-lightning] / lightning / src / chain / chaininterface.rs
index 83fee4d674d1611e82dccee1e1c674e8fb94f9aa..8ccfb945543ada51199c6db6874c1507cb96cb36 100644 (file)
@@ -23,6 +23,7 @@ pub trait BroadcasterInterface {
 
 /// An enum that represents the speed at which we want a transaction to confirm used for feerate
 /// estimation.
+#[derive(Clone, Copy, PartialEq, Eq)]
 pub enum ConfirmationTarget {
        /// We are happy with this transaction confirming slowly when feerate drops some.
        Background,