Skip to content

Commit 09cd4ed

Browse files
committed
Mark SpendableOutputDescriptor::to_psbt_input as no-export
Its honestly likely not all that useful as its not materially interoperable with other PSBT libraries. Instead, users should simply fetch the full PSBT and use the inputs from it as they see fit.
1 parent 9c78d8e commit 09cd4ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/sign/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ impl SpendableOutputDescriptor {
275275
///
276276
/// Note that this does not include any signatures, just the information required to
277277
/// construct the transaction and sign it.
278+
///
279+
/// This is not exported to bindings users as there is no standard serialization for an input.
280+
/// See [`Self::create_spendable_outputs_psbt`] instead.
278281
pub fn to_psbt_input(&self) -> bitcoin::psbt::Input {
279282
match self {
280283
SpendableOutputDescriptor::StaticOutput { output, .. } => {

0 commit comments

Comments
 (0)