Skip to content

Commit 0126975

Browse files
committed
Remove an unnecessary clone
1 parent 65232f7 commit 0126975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12777,7 +12777,7 @@ fn enqueue_onion_message_with_reply_paths<T: OnionMessageContents + Clone>(
1277712777
.flat_map(|reply_path|
1277812778
message_paths
1277912779
.iter()
12780-
.map(move |path| (path.clone(), reply_path))
12780+
.map(move |path| (path, reply_path))
1278112781
)
1278212782
.take(OFFERS_MESSAGE_REQUEST_LIMIT)
1278312783
.for_each(|(path, reply_path)| {

0 commit comments

Comments
 (0)