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 introduction_node = PublicKey::from_slice(&<Vec<u8>>::from_hex("032c0b7cf95324a07d05398b240174dc0c2be444d96b159aa6c7f7b1e668680991").unwrap()).unwrap();
4715
+
let blinding_point = PublicKey::from_slice(&<Vec<u8>>::from_hex("02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619").unwrap()).unwrap();
4716
+
let trampoline_payload = OutboundTrampolinePayload::LegacyBlindedPathEntry{
4717
+
amt_to_forward:150_000_000,
4718
+
outgoing_cltv_value:800_000,
4719
+
payment_paths:vec![
4720
+
BlindedPaymentPath::from_raw(
4721
+
introduction_node,
4722
+
blinding_point,
4723
+
vec![],
4724
+
BlindedPayInfo{
4725
+
fee_base_msat:500,
4726
+
fee_proportional_millionths:1_000,
4727
+
cltv_expiry_delta:36,
4728
+
htlc_minimum_msat:1,
4729
+
htlc_maximum_msat:500_000_000,
4730
+
features:BlindedHopFeatures::empty(),
4731
+
}
4732
+
)
4733
+
],
4734
+
invoice_features:Some(trampoline_features),
4735
+
};
4736
+
let serialized_payload = trampoline_payload.encode().to_lower_hex_string();
0 commit comments