Skip to content

Commit 66fec69

Browse files
authored
Merge pull request #317 from elnosh/fix-inbound-comment
Fix inbound capacity comment
2 parents bd9bd68 + 182bc21 commit 66fec69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ pub struct ChannelDetails {
200200
/// balance is not available for inclusion in new outbound HTLCs). This further does not include
201201
/// any pending outgoing HTLCs which are awaiting some other resolution to be sent.
202202
pub outbound_capacity_msat: u64,
203-
/// The available outbound capacity for sending HTLCs to the remote peer.
203+
/// The available inbound capacity for receiving HTLCs from the remote peer.
204204
///
205205
/// The amount does not include any pending HTLCs which are not yet resolved
206206
/// (and, thus, whose balance is not available for inclusion in new inbound HTLCs). This further
207-
/// does not include any pending outgoing HTLCs which are awaiting some other resolution to be
207+
/// does not include any pending incoming HTLCs which are awaiting some other resolution to be
208208
/// sent.
209209
pub inbound_capacity_msat: u64,
210210
/// The number of required confirmations on the funding transactions before the funding is

0 commit comments

Comments
 (0)