From 83dcd39c6d5eb36bb76fde6a0fc729df24a94ce9 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Fri, 4 Nov 2022 02:32:45 -0500 Subject: [PATCH] Implement Hash for ConfirmationTarget --- lightning/src/chain/chaininterface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/chain/chaininterface.rs b/lightning/src/chain/chaininterface.rs index cbf609485..1a4462491 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, PartialEq, Eq)] +#[derive(Clone, Copy, Hash, PartialEq, Eq)] pub enum ConfirmationTarget { /// We are happy with this transaction confirming slowly when feerate drops some. Background, -- 2.39.5