Rely on const generic big arrays for `PartialEq` in msgs
authorMatt Corallo <git@bluematt.me>
Mon, 13 Nov 2023 22:48:48 +0000 (22:48 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 14 Nov 2023 00:40:30 +0000 (00:40 +0000)
commiteb23c1e43b0372e53c0b19b1eeafebeef50d2089
tree9acd62b3a9ddf09ae11d8f5a2f13394cba34cb92
parenta025c7ca88cebdeb7972e64a3bb748a9f4e732ec
Rely on const generic big arrays for `PartialEq` in msgs

Implementation of standard traits on arrays longer than 32 elements
was shipped in rustc 1.47, which is below our MSRV of 1.48 and we
can use to remove some unnecessary manual implementation of
`PartialEq` on `OnionPacket`.
lightning/src/ln/msgs.rs