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
Previously, our deserialization macros used the `Readable` trait by
default. Now that `LengthReadable` is public and all `Readable` types
also implement it, we can use `LengthReadable` instead.
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