File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -771,9 +771,10 @@ impl Descriptor<DescriptorPublicKey> {
771
771
/// Utility method for deriving the descriptor at each index in a range to find one matching
772
772
/// `script_pubkey`.
773
773
///
774
- /// If it finds a match then it returns the index it was derived it and the concrete descriptor
775
- /// at that index. If the descriptor is non-derivable then it will simply check the script
776
- /// pubkey against the descriptor (and in that case the index returned will be meaningless).
774
+ /// If it finds a match then it returns the index it was derived at and the concrete
775
+ /// descriptor at that index. If the descriptor is non-derivable then it will simply check the
776
+ /// script pubkey against the descriptor and return it if it matches (in this case the index
777
+ /// returned will be meaningless).
777
778
pub fn find_derivation_index_for_spk < C : secp256k1:: Verification > (
778
779
& self ,
779
780
secp : & secp256k1:: Secp256k1 < C > ,
You can’t perform that action at this time.
0 commit comments