File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,8 @@ pub trait ChannelKeys : Send+Clone {
201
201
fn get_per_commitment_point < T : secp256k1:: Signing + secp256k1:: Verification > ( & self , idx : u64 , secp_ctx : & Secp256k1 < T > ) -> PublicKey ;
202
202
/// Gets the commitment secret for a specific commitment number as part of the revocation process
203
203
///
204
- /// An implementation must error here if the commitment was already signed.
205
- /// After this method is called, an implementation must ensure that it will refuse sign the relevant
206
- /// local commitment transaction.
204
+ /// An external signer implementation should error here if the commitment was already signed
205
+ /// and should refuse to sign it in the future.
207
206
///
208
207
/// May be called more than once for the same index.
209
208
///
@@ -229,7 +228,7 @@ pub trait ChannelKeys : Send+Clone {
229
228
/// Create a signature for a local commitment transaction. This will only ever be called with
230
229
/// the same local_commitment_tx (or a copy thereof), though there are currently no guarantees
231
230
/// that it will not be called multiple times.
232
- /// The commitment must not have been revoked.
231
+ /// An external signer implementation should check that the commitment has not been revoked.
233
232
//
234
233
// TODO: Document the things someone using this interface should enforce before signing.
235
234
// TODO: Add more input vars to enable better checking (preferably removing commitment_tx and
You can’t perform that action at this time.
0 commit comments