Skip to content

Commit 86ed012

Browse files
committed
Reduce visibility of ConstructedTransaction methods
1 parent f20a477 commit 86ed012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/interactivetxs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ impl ConstructedTransaction {
310310
&self.tx
311311
}
312312

313-
pub fn input_metadata(&self) -> impl Iterator<Item = &TxInMetadata> {
313+
fn input_metadata(&self) -> impl Iterator<Item = &TxInMetadata> {
314314
self.input_metadata.iter()
315315
}
316316

@@ -421,7 +421,7 @@ impl ConstructedTransaction {
421421
.for_each(|(input, witness)| input.witness = witness);
422422
}
423423

424-
pub fn holder_is_initiator(&self) -> bool {
424+
fn holder_is_initiator(&self) -> bool {
425425
self.holder_is_initiator
426426
}
427427

0 commit comments

Comments
 (0)