Mark `SpendableOutputDescriptor::to_psbt_input` as no-export
[rust-lightning] / lightning / src / sign / mod.rs
index 39f1001c480fd45926aed14355d78068028bfdc5..0e81d481efb6d48159809687b0f81df9fccaa69c 100644 (file)
@@ -275,6 +275,9 @@ impl SpendableOutputDescriptor {
        ///
        /// Note that this does not include any signatures, just the information required to
        /// construct the transaction and sign it.
+       ///
+       /// This is not exported to bindings users as there is no standard serialization for an input.
+       /// See [`Self::create_spendable_outputs_psbt`] instead.
        pub fn to_psbt_input(&self) -> bitcoin::psbt::Input {
                match self {
                        SpendableOutputDescriptor::StaticOutput { output, .. } => {