feat(chain): add SpkIterator::descriptor method
Otherwise there will be no way to view the descriptor of the `SpkIterator`.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user