feat(chain): add SpkIterator::descriptor
method
Otherwise there will be no way to view the descriptor of the `SpkIterator`.
This commit is contained in:
parent
c7b47af72f
commit
81aeaba48a
@ -87,6 +87,11 @@ where
|
||||
secp: Secp256k1::verification_only(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Get a reference to the internal descriptor.
|
||||
pub fn descriptor(&self) -> &D {
|
||||
&self.descriptor
|
||||
}
|
||||
}
|
||||
|
||||
impl<D> Iterator for SpkIterator<D>
|
||||
|
Loading…
x
Reference in New Issue
Block a user