Skip to content

Commit 8f525c4

Browse files
authored
Merge pull request #1831 from benthecarman/hash-ConfirmationTarget
Implement Hash for ConfirmationTarget
2 parents e55e0d5 + 83dcd39 commit 8f525c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/chaininterface.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub trait BroadcasterInterface {
2525

2626
/// An enum that represents the speed at which we want a transaction to confirm used for feerate
2727
/// estimation.
28-
#[derive(Clone, Copy, PartialEq, Eq)]
28+
#[derive(Clone, Copy, Hash, PartialEq, Eq)]
2929
pub enum ConfirmationTarget {
3030
/// We are happy with this transaction confirming slowly when feerate drops some.
3131
Background,

0 commit comments

Comments
 (0)