OMs: fix panic sending to a two-hop blinded route where we are the intro node
[rust-lightning] / lightning-background-processor / src / lib.rs
index 055b5ca6f9937d70cc5b3e76babd9b8778a6b7cc..27cd0663e3291f27e385787d99769553c012de80 100644 (file)
@@ -609,7 +609,7 @@ mod tests {
 
        const EVENT_DEADLINE: u64 = 5 * FRESHNESS_TIMER;
 
-       #[derive(Clone, Eq, Hash, PartialEq)]
+       #[derive(Clone, Hash, PartialEq, Eq)]
        struct TestDescriptor{}
        impl SocketDescriptor for TestDescriptor {
                fn send_data(&mut self, _data: &[u8], _resume_read: bool) -> usize {