Skip to content

Commit d447558

Browse files
committed
f: unused stuff
1 parent a52cbbc commit d447558

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4453,7 +4453,7 @@ where
44534453
Err(InboundHTLCErr { err_code, err_data, msg }) => return_err!(msg, err_code, &err_data)
44544454
}
44554455
},
4456-
onion_utils::Hop::TrampolineForward { outer_hop_data, next_trampoline_hop_hmac, new_trampoline_packet_bytes, .. } => {
4456+
onion_utils::Hop::TrampolineForward { .. } => {
44574457
todo!()
44584458
},
44594459
onion_utils::Hop::Forward { next_hop_data, next_hop_hmac, new_packet_bytes, .. } => {

lightning/src/ln/msgs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,13 +1811,15 @@ mod fuzzy_internal_msgs {
18111811
pub outgoing_cltv_value: u32,
18121812
}
18131813

1814+
#[allow(unused)]
18141815
pub struct InboundTrampolineForwardPayload {
18151816
pub next_node_id: NodeId,
18161817
/// The value, in msat, of the payment after this hop's fee is deducted.
18171818
pub amt_to_forward: u64,
18181819
pub outgoing_cltv_value: u32,
18191820
}
18201821

1822+
#[allow(unused)]
18211823
pub struct InboundTrampolineEntrypointPayload {
18221824
pub amt_to_forward: u64,
18231825
pub outgoing_cltv_value: u32,

lightning/src/ln/onion_utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,7 @@ pub(crate) enum Hop {
14281428
},
14291429
/// This onion was received via Trampoline, and needs to be forwarded to a subsequent Trampoline
14301430
/// node.
1431+
#[allow(unused)]
14311432
TrampolineForward {
14321433
outer_hop_data: msgs::InboundTrampolineEntrypointPayload,
14331434
outer_shared_secret: SharedSecret,

0 commit comments

Comments
 (0)