X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fchacha20poly1305rfc.rs;h=3254e8b0134d298517fcc9095792fb48c9935b50;hb=17c0fc82a4efe980fd3e135548d47d407517fe63;hp=5fddb57eb36a0c1a2d119baeabd7d0a757509ee6;hpb=a82fb6285692edbfba7dee4a26da545298eb32d0;p=rust-lightning diff --git a/lightning/src/util/chacha20poly1305rfc.rs b/lightning/src/util/chacha20poly1305rfc.rs index 5fddb57e..3254e8b0 100644 --- a/lightning/src/util/chacha20poly1305rfc.rs +++ b/lightning/src/util/chacha20poly1305rfc.rs @@ -335,7 +335,7 @@ mod tests { use util::ser::{self, FixedLengthReader, LengthReadableArgs, Writeable}; // Used for for testing various lengths of serialization. - #[derive(Debug, PartialEq)] + #[derive(Debug, PartialEq, Eq)] struct TestWriteable { field1: Vec, field2: Vec,