Skip to content

Commit 11e72b9

Browse files
committed
Made HTLC_{SUCCESS,TIMEOUT}_TX_WEIGHT public
1 parent b39bc9a commit 11e72b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ use chain;
4242

4343
pub(crate) const MAX_HTLCS: u16 = 483;
4444

45-
pub(super) const HTLC_SUCCESS_TX_WEIGHT: u64 = 703;
46-
pub(super) const HTLC_TIMEOUT_TX_WEIGHT: u64 = 663;
45+
/// The fee for an HTLC-success transaction
46+
pub const HTLC_SUCCESS_TX_WEIGHT: u64 = 703;
47+
/// The fee for an HTLC-timeout transaction
48+
pub const HTLC_TIMEOUT_TX_WEIGHT: u64 = 663;
4749

4850
#[derive(PartialEq)]
4951
pub(crate) enum HTLCType {

0 commit comments

Comments
 (0)