Skip to content

Commit adc1b9a

Browse files
committed
f: store previous hop data in vec
1 parent c07cf59 commit adc1b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6243,7 +6243,7 @@ where
62436243
let htlc_source = HTLCSource::TrampolineForward {
62446244
// dummy value
62456245
session_priv: SecretKey::from_slice(&self.entropy_source.get_secure_random_bytes()).unwrap(),
6246-
previous_hop_data: HTLCPreviousHopData {
6246+
previous_hop_data: vec![HTLCPreviousHopData {
62476247
short_channel_id: prev_short_channel_id,
62486248
user_channel_id: Some(prev_user_channel_id),
62496249
counterparty_node_id: prev_counterparty_node_id,
@@ -6255,7 +6255,7 @@ where
62556255
phantom_shared_secret: None,
62566256
blinded_failure: blinded.map(|b| b.failure),
62576257
cltv_expiry: Some(incoming_cltv_expiry),
6258-
},
6258+
}],
62596259
incoming_trampoline_shared_secret,
62606260
hops: Vec::new(),
62616261
};

0 commit comments

Comments
 (0)