Skip to content

Commit bc687d2

Browse files
committed
Merge #522: Update TapTree::iter docs
3fcc84c Update TapTree::iter docs (sanket1729) Pull request description: Fixes #441 ACKs for top commit: apoelstra: ACK 3fcc84c Tree-SHA512: 31f6fea5f6d33bee5bd86fc2d78bbca71c5fef5ff6a027cc6360c4e8489f7963ee7f826863d612d75d9ab49e2f5f5acbd48099cd231bc137c5e6d36d1df01f59
2 parents 940b75c + 3fcc84c commit bc687d2

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)