From 8ce2a01a5e2553f1c9e4ea18e6f91ff0d4ba7b9a Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Sat, 30 Dec 2023 15:07:19 +1100 Subject: [PATCH] Add comment --- protocols/autonat/src/v2/client/behaviour.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/autonat/src/v2/client/behaviour.rs b/protocols/autonat/src/v2/client/behaviour.rs index 5ca8d029b40..0022d07f643 100644 --- a/protocols/autonat/src/v2/client/behaviour.rs +++ b/protocols/autonat/src/v2/client/behaviour.rs @@ -329,7 +329,7 @@ where entries .into_iter() - .rev() + .rev() // `sort_unstable` is ascending .take(self.config.max_candidates) .map(|(addr, _)| addr) }