derive `Debug` for `ConfirmationTarget`
authorMax Fang <protonmail.com@maxfa.ng>
Tue, 17 Jan 2023 04:15:01 +0000 (20:15 -0800)
committerMax Fang <protonmail.com@maxfa.ng>
Tue, 17 Jan 2023 04:15:01 +0000 (20:15 -0800)
lightning/src/chain/chaininterface.rs

index 1a446249105c8772ead4b9f1c1167d3ea160219a..e923a94bb6d3e7afb5f37376b6de132225821d21 100644 (file)
@@ -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,