From: Max Fang Date: Tue, 17 Jan 2023 04:15:01 +0000 (-0800) Subject: derive `Debug` for `ConfirmationTarget` X-Git-Tag: v0.0.114-beta~59^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ad4b91da88c678f04d92d0ad80d58bfab740146b;p=rust-lightning derive `Debug` for `ConfirmationTarget` --- diff --git a/lightning/src/chain/chaininterface.rs b/lightning/src/chain/chaininterface.rs index 1a4462491..e923a94bb 100644 --- a/lightning/src/chain/chaininterface.rs +++ b/lightning/src/chain/chaininterface.rs @@ -25,7 +25,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, Hash, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)] pub enum ConfirmationTarget { /// We are happy with this transaction confirming slowly when feerate drops some. Background,