Implement Hash for ConfirmationTarget

This commit is contained in:
benthecarman 2022-11-04 02:32:45 -05:00
parent e55e0d53c7
commit 83dcd39c6d
No known key found for this signature in database
GPG key ID: D7CC770B81FD22A8

View 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 /// An enum that represents the speed at which we want a transaction to confirm used for feerate
/// estimation. /// estimation.
#[derive(Clone, Copy, PartialEq, Eq)] #[derive(Clone, Copy, Hash, PartialEq, Eq)]
pub enum ConfirmationTarget { pub enum ConfirmationTarget {
/// We are happy with this transaction confirming slowly when feerate drops some. /// We are happy with this transaction confirming slowly when feerate drops some.
Background, Background,