From: benthecarman Date: Fri, 4 Nov 2022 07:32:45 +0000 (-0500) Subject: Implement Hash for ConfirmationTarget X-Git-Tag: v0.0.113~56^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=83dcd39c6d5eb36bb76fde6a0fc729df24a94ce9;p=rust-lightning Implement Hash for ConfirmationTarget --- 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,