File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -211,10 +211,12 @@ impl<Pk: MiniscriptKey> Tr<Pk> {
211211 }
212212 }
213213
214- // Compute the [`TaprootSpendInfo`] associated with this descriptor if spend data is [None]
215- // If spend data is already computed (i.e it is not None), this does not recompute it
216- // TaprootSpendInfo is only required for spending via the script paths.
217- fn spend_info ( & self ) -> Arc < TaprootSpendInfo >
214+ /// Compute the [`TaprootSpendInfo`] associated with this descriptor if spend data is `None`.
215+ ///
216+ /// If spend data is already computed (i.e it is not `None`), this does not recompute it.
217+ ///
218+ /// [`TaprootSpendInfo`] is only required for spending via the script paths.
219+ pub fn spend_info ( & self ) -> Arc < TaprootSpendInfo >
218220 where
219221 Pk : ToPublicKey ,
220222 {
You can’t perform that action at this time.
0 commit comments