Skip to content

Commit f5bfe6b

Browse files
committed
f: inbound decoding simplification
1 parent 010ac3b commit f5bfe6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/blinded_payment_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ fn test_trampoline_inbound_payment_decoding() {
18301830
let amt_msat = 150_000_001;
18311831
let cur_height = 800_001;
18321832
let recipient_onion_fields = RecipientOnionFields::secret_only(payment_secret);
1833-
let (bob_onion, _, _) = onion_utils::create_payment_onion_internal(&secp_ctx, &path, &session_priv, amt_msat, &recipient_onion_fields, cur_height, &PaymentHash([0; 32]), &None, None, [0; 32], Some(payment_secret), Some(outer_session_key), Some(outer_onion_prng_seed)).unwrap();
1833+
let (bob_onion, _, _) = onion_utils::create_payment_onion_internal(&secp_ctx, &path, &session_priv, amt_msat, &recipient_onion_fields, cur_height, &PaymentHash([0; 32]), &None, None, [0; 32], Some(outer_session_key), Some(outer_onion_prng_seed)).unwrap();
18341834
// let (bob_onion, _, _) = onion_utils::create_payment_onion(&secp_ctx, &path, &session_priv, amt_msat, &recipient_onion_fields, cur_height, &PaymentHash([0; 32]), &None, None, [0; 32]).unwrap();
18351835

18361836
struct TestEcdhSigner {

0 commit comments

Comments
 (0)