File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1196,7 +1196,12 @@ where
1196
1196
}
1197
1197
}
1198
1198
1199
- /// Try to finalize a PSBT
1199
+ /// Finalize a PSBT, i.e., for each input determine if sufficient data is available to pass
1200
+ /// validation and construct the respective `scriptSig` or `scriptWitness`. Please refer to
1201
+ /// [BIP174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#Input_Finalizer)
1202
+ /// for further information.
1203
+ ///
1204
+ /// Returns `true` if the PSBT could be finalized, and `false` otherwise.
1200
1205
///
1201
1206
/// The [`SignOptions`] can be used to tweak the behavior of the finalizer.
1202
1207
pub fn finalize_psbt (
Original file line number Diff line number Diff line change @@ -696,14 +696,14 @@ pub struct SignOptions {
696
696
/// Defaults to `false` which will only allow signing using `SIGHASH_ALL`.
697
697
pub allow_all_sighashes : bool ,
698
698
699
- /// Whether to remove partial_sigs from psbt inputs while finalizing psbt .
699
+ /// Whether to remove partial signatures from the PSBT inputs while finalizing PSBT .
700
700
///
701
- /// Defaults to `true` which will remove partial_sigs after finalizing .
701
+ /// Defaults to `true` which will remove partial signatures during finalization .
702
702
pub remove_partial_sigs : bool ,
703
703
704
- /// Whether to try finalizing psbt input after the inputs are signed.
704
+ /// Whether to try finalizing the PSBT after the inputs are signed.
705
705
///
706
- /// Defaults to `true` which will try fianlizing psbt after inputs are signed.
706
+ /// Defaults to `true` which will try finalizing PSBT after inputs are signed.
707
707
pub try_finalize : bool ,
708
708
709
709
/// Specifies which Taproot script-spend leaves we should sign for. This option is
You can’t perform that action at this time.
0 commit comments