We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a155490 commit 46c0c92Copy full SHA for 46c0c92
lightning/src/events/mod.rs
@@ -1671,6 +1671,7 @@ impl Writeable for Event {
1671
(2, payment_hash, option),
1672
(4, path.hops, required_vec),
1673
(6, path.blinded_tail, option),
1674
+ (8, path.trampoline_hops, optional_vec),
1675
})
1676
},
1677
&Event::PaymentFailed { ref payment_id, ref payment_hash, ref reason } => {
@@ -2084,11 +2085,12 @@ impl MaybeReadable for Event {
2084
2085
2086
(4, path, required_vec),
2087
(6, blinded_tail, option),
2088
+ (8, trampoline_path, optional_vec),
2089
});
2090
Ok(Some(Event::PaymentPathSuccessful {
2091
payment_id: payment_id.0.unwrap(),
2092
payment_hash,
- path: Path { hops: path, trampoline_hops: vec![], blinded_tail },
2093
+ path: Path { hops: path, trampoline_hops: trampoline_path.unwrap_or(vec![]), blinded_tail },
2094
}))
2095
};
2096
f()
0 commit comments