Skip to content

Commit 46ce6b3

Browse files
committed
Improve documentation on zero reserve channels
1 parent bca3cc4 commit 46ce6b3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,8 +1449,8 @@ impl Node {
14491449
/// Connect to a node and open a new unannounced channel, in which the target node can
14501450
/// spend its entire balance.
14511451
///
1452-
/// This channel allows the target node to try to steal your funds with no financial
1453-
/// penalty, so this channel should only be opened to nodes you trust.
1452+
/// This channel allows the target node to try to steal your funds in that channel with no
1453+
/// financial penalty, so this channel should only be opened to nodes you trust.
14541454
///
14551455
/// Disconnects and reconnects are handled automatically.
14561456
///
@@ -1484,8 +1484,8 @@ impl Node {
14841484
/// minus fees and anchor reserves. The target node will be able to spend its entire channel
14851485
/// balance.
14861486
///
1487-
/// This channel allows the target node to try to steal your funds with no financial
1488-
/// penalty, so this channel should only be opened to nodes you trust.
1487+
/// This channel allows the target node to try to steal your funds in that channel with no
1488+
/// financial penalty, so this channel should only be opened to nodes you trust.
14891489
///
14901490
/// Disconnects and reconnects are handled automatically.
14911491
///

src/liquidity.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ pub struct LSPS2ServiceConfig {
142142
///
143143
/// [`bLIP-52`]: https://github.com/lightning/blips/blob/master/blip-0052.md#trust-models
144144
pub client_trusts_lsp: bool,
145-
/// When set, clients that we open channels to will be allowed to spend their entire channel
146-
/// balance. This allows clients to try to steal your funds with no financial penalty, so
147-
/// this should only be set if you trust your clients.
145+
/// When set, we will allow clients to spend their entire channel balance in the channels
146+
/// we open to them. This allows clients to try to steal your funds in those channels with
147+
/// no financial penalty, so this should only be set if you trust your clients.
148148
pub allow_client_0reserve: bool,
149149
}
150150

0 commit comments

Comments
 (0)