@@ -210,13 +210,11 @@ pub struct AnchorChannelsConfig {
210
210
/// on-chain.
211
211
///
212
212
/// Channels with these peers won't count towards the retained on-chain reserve and we won't
213
- /// take any action to get the required transactions confirmed ourselves.
213
+ /// take any action to get the required channel closing transactions confirmed ourselves.
214
214
///
215
215
/// **Note:** Trusting the channel counterparty to take the necessary actions to get the
216
- /// required Anchor spending and HTLC transactions confirmed on-chain is potentially insecure
217
- /// as the channel may not be closed if they refuse to do so, potentially leaving the user
218
- /// funds stuck *or* even allow the counterparty to steal any in-flight funds after the
219
- /// corresponding HTLCs time out.
216
+ /// required Anchor spending transactions confirmed on-chain is potentially insecure
217
+ /// as the channel may not be closed if they refuse to do so.
220
218
pub trusted_peers_no_reserve : Vec < PublicKey > ,
221
219
/// The amount of satoshis per anchors-negotiated channel with an untrusted peer that we keep
222
220
/// as an emergency reserve in our on-chain wallet.
@@ -228,9 +226,9 @@ pub struct AnchorChannelsConfig {
228
226
/// [`AnchorChannelsConfig::trusted_peers_no_reserve`], we will always try to spend the Anchor
229
227
/// outputs with *any* on-chain funds available, i.e., the total reserve value as well as any
230
228
/// spendable funds available in the on-chain wallet. Therefore, this per-channel multiplier is
231
- /// really a emergencey reserve that we maintain at all time to reduce reduce the risk of
229
+ /// really a emergency reserve that we maintain at all time to reduce reduce the risk of
232
230
/// insufficient funds at time of a channel closure. To this end, we will refuse to open
233
- /// outbound or accept inbound channels if we don't have sufficient on-chain funds availble to
231
+ /// outbound or accept inbound channels if we don't have sufficient on-chain funds available to
234
232
/// cover the additional reserve requirement.
235
233
///
236
234
/// **Note:** Depending on the fee market at the time of closure, this reserve amount might or
0 commit comments