From 29b43ba1654261ce5ce6ee1c637dec47116439a4 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 4 Jul 2021 14:51:21 +0000 Subject: [PATCH] Add standard derives for ConfirmationTarget --- lightning/src/chain/chaininterface.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/chain/chaininterface.rs b/lightning/src/chain/chaininterface.rs index 83fee4d67..8ccfb9455 100644 --- a/lightning/src/chain/chaininterface.rs +++ b/lightning/src/chain/chaininterface.rs @@ -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, -- 2.39.5