Skip to content

Commit ac36e44

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 b71b144 commit ac36e44

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
@@ -229,6 +229,9 @@ impl SpendableOutputDescriptor {
229229
///
230230
/// Note that this does not include any signatures, just the information required to
231231
/// construct the transaction and sign it.
232+
///
233+
/// This is not exported to bindings users as there is no standard serialization for an input.
234+
/// See [`Self::create_spendable_outputs_psbt`] instead.
232235
pub fn to_psbt_input(&self) -> bitcoin::psbt::Input {
233236
match self {
234237
SpendableOutputDescriptor::StaticOutput { output, .. } => {

0 commit comments

Comments
 (0)