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
Usage of amt_to_forward was removed in commit
24c2468
Before that, amt_to_forward was used to validate a channel update
attached to the failure message.
let um = gen_um_from_shared_secret(shared_secret.as_ref());
@@ -2516,20 +2498,13 @@ mod tests {
2516
2498
let trampoline_session_priv = SecretKey::from_slice(&[3;32]).unwrap();
2517
2499
let outer_session_priv = SecretKey::from_slice(&[4;32]).unwrap();
2518
2500
2519
-
let htlc_source = HTLCSource::OutboundRoute{
2520
-
path:build_trampoline_test_path(),
2521
-
session_priv: trampoline_session_priv,
2522
-
first_hop_htlc_msat: dummy_amt_msat,
2523
-
payment_id:PaymentId([1;32]),
2524
-
};
2525
-
2526
2501
let error_packet_hex = "f8941a320b8fde4ad7b9b920c69cbf334114737497d93059d77e591eaa78d6334d3e2aeefcb0cc83402eaaf91d07d695cd895d9cad1018abdaf7d2a49d7657b1612729db7f393f0bb62b25afaaaa326d72a9214666025385033f2ec4605dcf1507467b5726d806da180ea224a7d8631cd31b0bdd08eead8bfe14fc8c7475e17768b1321b54dd4294aecc96da391efe0ca5bd267a45ee085c85a60cf9a9ac152fa4795fff8700a3ea4f848817f5e6943e855ab2e86f6929c9e885d8b20c49b14d2512c59ed21f10bd38691110b0d82c00d9fa48a20f10c7550358724c6e8e2b966e56a0aadf458695b273768062fa7c6e60eb72d4cdc67bf525c194e4a17fdcaa0e9d80480b586bf113f14eea530b6728a1c53fe5cee092e24a90f21f4b764015e7ed5e23";
0 commit comments