Skip to content

Commit 0eab7c1

Browse files
committed
f Clarify counterparty-doesn't-support-Anchors case
1 parent 4b5cf05 commit 0eab7c1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/config.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ pub struct Config {
113113
///
114114
/// Please refer to [`AnchorChannelsConfig`] for further information on Anchor channels.
115115
///
116-
/// If set to `Some`, new channels will have Anchors enabled, i.e., will be negotiated with the
117-
/// `option_anchors_zero_fee_htlc_tx` channel type. If set to `None`, new channels will be
118-
/// negotiated with the legacy `option_static_remotekey` channel type.
116+
/// If set to `Some`, we'll try to open new channels with Anchors enabled, i.e., new channels
117+
/// will be negotiated with the `option_anchors_zero_fee_htlc_tx` channel type if supported by
118+
/// the counterparty. Note that this won't prevent us from opening non-Anchor channels if the
119+
/// counterparty doesn't support `option_anchors_zero_fee_htlc_tx`. If set to `None`, new
120+
/// channels will be negotiated with the legacy `option_static_remotekey` channel type only.
119121
///
120122
/// **Note:** If set to `None` *after* some Anchor channels have already been
121123
/// opened, no dedicated emergency on-chain reserve will be maintained for these channels,

0 commit comments

Comments
 (0)