File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -771,9 +771,10 @@ impl Descriptor<DescriptorPublicKey> {
771771 /// Utility method for deriving the descriptor at each index in a range to find one matching
772772 /// `script_pubkey`.
773773 ///
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).
777778 pub fn find_derivation_index_for_spk < C : secp256k1:: Verification > (
778779 & self ,
779780 secp : & secp256k1:: Secp256k1 < C > ,
You can’t perform that action at this time.
0 commit comments