Skip to content

Commit 9f49ed6

Browse files
committed
f! note new provide_channel_parameters requirements
1 parent 454e1de commit 9f49ed6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,11 @@ pub trait BaseSign {
368368
-> Result<(Signature, Signature), ()>;
369369

370370
/// Set the counterparty static channel data, including basepoints,
371-
/// counterparty_selected/holder_selected_contest_delay and funding outpoint.
372-
/// This is done as soon as the funding outpoint is known. Since these are static channel data,
373-
/// they MUST NOT be allowed to change to different values once set.
371+
/// counterparty_selected/holder_selected_contest_delay and funding outpoint. This is usually
372+
/// done immediately upon signer derivation, unless the channel has yet to be funded, in which
373+
/// case it is done as soon as the funding outpoint is known. Since these are static channel
374+
/// data, they MUST NOT be allowed to change to different values once set. If the channel
375+
/// parameters are already known, any further calls should act as a no-op.
374376
///
375377
/// channel_parameters.is_populated() MUST be true.
376378
///

0 commit comments

Comments
 (0)