Skip to content

Commit a02ec73

Browse files
committed
f var rename
1 parent ac1916a commit a02ec73

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub struct AvailableBalances {
7474
/// The maximum value we can assign to the next outbound HTLC
7575
pub next_outbound_htlc_limit_msat: u64,
7676
/// The minimum value we can assign to the next outbound HTLC
77-
pub next_outbound_htlc_min_msat: u64,
77+
pub next_outbound_htlc_minimum_msat: u64,
7878
}
7979

8080
#[derive(Debug, Clone, Copy, PartialEq)]
@@ -2764,7 +2764,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
27642764
0) as u64,
27652765
outbound_capacity_msat,
27662766
next_outbound_htlc_limit_msat: available_capacity_msat,
2767-
next_outbound_htlc_min_msat: 0,
2767+
next_outbound_htlc_minimum_msat: 0,
27682768
balance_msat,
27692769
}
27702770
}

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ impl ChannelDetails {
14011401
inbound_capacity_msat: balance.inbound_capacity_msat,
14021402
outbound_capacity_msat: balance.outbound_capacity_msat,
14031403
next_outbound_htlc_limit_msat: balance.next_outbound_htlc_limit_msat,
1404-
next_outbound_htlc_minimum_msat: balance.next_outbound_htlc_min_msat,
1404+
next_outbound_htlc_minimum_msat: balance.next_outbound_htlc_minimum_msat,
14051405
user_channel_id: channel.get_user_id(),
14061406
confirmations_required: channel.minimum_depth(),
14071407
confirmations: Some(channel.get_funding_tx_confirmations(best_block_height)),

0 commit comments

Comments
 (0)