Skip to content

Commit 8c07952

Browse files
committed
Fix tr for each key bug
1 parent 75ff627 commit 8c07952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/descriptor/tr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ impl<Pk: MiniscriptKey> ForEachKey<Pk> for Tr<Pk> {
650650
{
651651
let script_keys_res = self
652652
.iter_scripts()
653-
.all(|(_d, ms)| ms.for_any_key(&mut pred));
653+
.all(|(_d, ms)| ms.for_each_key(&mut pred));
654654
script_keys_res && pred(ForEach::Key(&self.internal_key))
655655
}
656656
}

0 commit comments

Comments
 (0)