File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1457,11 +1457,16 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
1457
1457
1458
1458
/// Wrapper around [`EcdsaChannelSigner::sign_justice_revoked_output`] to make
1459
1459
/// signing the justice transaction easier for implementors of
1460
- /// [`chain::chainmonitor::Persist`]. On success this method returns a fully signed
1461
- /// transaction that is ready to be broadcasted.
1460
+ /// [`chain::chainmonitor::Persist`]. On success this method returns the provided transaction
1461
+ /// signing the input at `input_idx`.
1462
+ ///
1463
+ /// `Value` is the value of the output being spent by the input at `input_idx`, committed
1464
+ /// in the BIP 143 signature.
1462
1465
///
1463
1466
/// This method will only succeed if this monitor has received the revocation secret for the
1464
- /// provided commitment number.
1467
+ /// provided `commitment_number`. If a commitment number is provided that does not correspond
1468
+ /// to the commitment transaction being revoked, this will return a signed transaction, but
1469
+ /// the signature will not be valid.
1465
1470
///
1466
1471
/// [`EcdsaChannelSigner::sign_justice_revoked_output`]: crate::sign::EcdsaChannelSigner::sign_justice_revoked_output
1467
1472
/// [`Persist`]: crate::chain::chainmonitor::Persist
You can’t perform that action at this time.
0 commit comments