Skip to content

Commit 3fcc84c

Browse files
committed
Update TapTree::iter docs
1 parent 64b2b3d commit 3fcc84c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/descriptor/tr.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ impl<Pk: MiniscriptKey> TapTree<Pk> {
120120
}
121121
}
122122

123-
/// Iterate over all miniscripts
123+
/// Iterates over all miniscripts in DFS walk order compatible with the
124+
/// PSBT requirements (BIP 371).
124125
pub fn iter(&self) -> TapTreeIter<Pk> {
125126
TapTreeIter {
126127
stack: vec![(0, self)],

0 commit comments

Comments
 (0)