Skip to content

Commit c9bd7b3

Browse files
author
Antoine Riard
committed
Introduce PackageTemplae, a replacement of InputMaterial
PackageTemplate aims to replace InputMaterial, introducing a clean interface to manipulate a wide range of claim types without OnchainTxHandler aware of special content of each. This is used in next commits.
1 parent 0ea7dd8 commit c9bd7b3

File tree

2 files changed

+706
-2
lines changed

2 files changed

+706
-2
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use core::ops::Deref;
4040
use chain;
4141

4242
// Maximum size of a serialized HTLCOutputInCommitment
43-
const HTLC_OUTPUT_IN_COMMITMENT_SIZE: usize = 1 + 8 + 4 + 32 + 5;
43+
pub(crate) const HTLC_OUTPUT_IN_COMMITMENT_SIZE: usize = 1 + 8 + 4 + 32 + 5;
4444

4545
pub(crate) const MAX_HTLCS: u16 = 483;
4646

0 commit comments

Comments
 (0)