From 01269758f6483833e42318bf7038a529aff7484e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 31 Mar 2025 19:35:00 +0000 Subject: [PATCH] Remove an unnecessary clone --- lightning/src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 633ae6c0e53..b7d18fb9e21 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -12777,7 +12777,7 @@ fn enqueue_onion_message_with_reply_paths( .flat_map(|reply_path| message_paths .iter() - .map(move |path| (path.clone(), reply_path)) + .map(move |path| (path, reply_path)) ) .take(OFFERS_MESSAGE_REQUEST_LIMIT) .for_each(|(path, reply_path)| {