Implement Hash for ConfirmationTarget
authorbenthecarman <benthecarman@live.com>
Fri, 4 Nov 2022 07:32:45 +0000 (02:32 -0500)
committerbenthecarman <benthecarman@live.com>
Fri, 4 Nov 2022 07:32:45 +0000 (02:32 -0500)
lightning/src/chain/chaininterface.rs

index cbf609485ce1984800fa991e22d952e33ab5db56..1a446249105c8772ead4b9f1c1167d3ea160219a 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, PartialEq, Eq)]
+#[derive(Clone, Copy, Hash, PartialEq, Eq)]
 pub enum ConfirmationTarget {
        /// We are happy with this transaction confirming slowly when feerate drops some.
        Background,