Merge commit 'refs/pull/250/head' of github.com:bitcoindevkit/bdk
This commit is contained in:
commit
407f14add9
@ -165,11 +165,13 @@ pub enum SatisfiableItem {
|
||||
impl SatisfiableItem {
|
||||
/// Returns whether the [`SatisfiableItem`] is a leaf item
|
||||
pub fn is_leaf(&self) -> bool {
|
||||
!matches!(self,
|
||||
SatisfiableItem::Thresh {
|
||||
items: _,
|
||||
threshold: _,
|
||||
})
|
||||
!matches!(
|
||||
self,
|
||||
SatisfiableItem::Thresh {
|
||||
items: _,
|
||||
threshold: _,
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
/// Returns a unique id for the [`SatisfiableItem`]
|
||||
|
Loading…
x
Reference in New Issue
Block a user