You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let target_value = <Vec<u8>>::from_hex("1002080badf00d010203040404ffffffff").unwrap();
@@ -4252,7 +4266,6 @@ mod tests {
4252
4266
sender_intended_htlc_amt_msat:0x0badf00d01020304,
4253
4267
cltv_expiry_height:0xffffffff,
4254
4268
custom_tlvs:vec![],
4255
-
trampoline_packet:None
4256
4269
};
4257
4270
let encoded_value = outbound_msg.encode();
4258
4271
let target_value = <Vec<u8>>::from_hex("3602080badf00d010203040404ffffffff082442424242424242424242424242424242424242424242424242424242424242421badca1f").unwrap();
@@ -4292,7 +4305,6 @@ mod tests {
4292
4305
custom_tlvs: bad_type_range_tlvs,
4293
4306
sender_intended_htlc_amt_msat:0x0badf00d01020304,
4294
4307
cltv_expiry_height:0xffffffff,
4295
-
trampoline_packet:None
4296
4308
};
4297
4309
let encoded_value = msg.encode();
4298
4310
let node_signer = test_utils::TestKeysInterface::new(&[42;32],Network::Testnet);
@@ -4325,7 +4337,6 @@ mod tests {
4325
4337
custom_tlvs: expected_custom_tlvs.clone(),
4326
4338
sender_intended_htlc_amt_msat:0x0badf00d01020304,
4327
4339
cltv_expiry_height:0xffffffff,
4328
-
trampoline_packet:None
4329
4340
};
4330
4341
let encoded_value = msg.encode();
4331
4342
let target_value = <Vec<u8>>::from_hex("2e02080badf00d010203040404ffffffffff0000000146c6616b021234ff0000000146c6616f084242424242424242").unwrap();
@@ -4364,14 +4375,11 @@ mod tests {
4364
4375
let encoded_trampoline_packet = trampoline_packet.encode();
4365
4376
assert_eq!(encoded_trampoline_packet.len(),716);
4366
4377
4367
-
let msg = msgs::OutboundOnionPayload::Receive{
4378
+
let msg = msgs::OutboundOnionPayload::TrampolineEntry{
0 commit comments