Rename TapTree::iter into TapTree::script_leaves
This commit is contained in:
parent
6f871ba47d
commit
2b8d96581a
|
@ -155,9 +155,9 @@ impl TapTree {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns iterator for a taproot script tree, operating in DFS order over leaf depth and
|
/// Returns [`TapTreeIter`] iterator for a taproot script tree, operating in DFS order over
|
||||||
/// leaf script pairs.
|
/// leaf depth and leaf script pairs.
|
||||||
pub fn iter(&self) -> TapTreeIter {
|
pub fn script_leaves(&self) -> TapTreeIter {
|
||||||
self.into_iter()
|
self.into_iter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue