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
Inbound Trampoline entrypoint packets will contain inner onions, which
only implement LengthReadable. Until now, we never had to decode
LengthReadable-only structs in TLV streams, so this issue never
surfaced before, but going forward, this will allow us to parse inbound
Trampoline data.
let target_value = <Vec<u8>>::from_hex("020202020202020202020202020202020202020202020202020202020202020200083a840000034dd977cb9b53d93a6ff64bb5f1e158b4094b66e798fb12911168a3ccdf80a83096340a6a95da0ae8d9f776528eecdbb747eb6b545495a4319ed5378e35b21e073a").unwrap();
let closing_signed_with_range = msgs::ClosingSigned{
4319
4319
channel_id:ChannelId::from_bytes([2;32]),
@@ -4327,7 +4327,7 @@ mod tests {
4327
4327
let encoded_value_with_range = closing_signed_with_range.encode();
4328
4328
let target_value_with_range = <Vec<u8>>::from_hex("020202020202020202020202020202020202020202020202020202020202020200083a840000034dd977cb9b53d93a6ff64bb5f1e158b4094b66e798fb12911168a3ccdf80a83096340a6a95da0ae8d9f776528eecdbb747eb6b545495a4319ed5378e35b21e073a011000000000deadbeef1badcafe01234567").unwrap();
0 commit comments