diff --git a/src/accountant_skel.rs b/src/accountant_skel.rs index cc556ae65..4ed3640bf 100644 --- a/src/accountant_skel.rs +++ b/src/accountant_skel.rs @@ -159,7 +159,6 @@ impl AccountantSkel { let timer = Duration::new(1, 0); let (mms, vvs) = verified_receiver.recv_timeout(timer)?; for (msgs, vers) in mms.into_iter().zip(vvs.into_iter()) { - let msgs_ = msgs.clone(); let mut rsps = VecDeque::new(); { let reqs = Self::deserialize_packets(&((*msgs).read().unwrap())); @@ -187,7 +186,7 @@ impl AccountantSkel { //don't wake up the other side if there is nothing blob_sender.send(rsps)?; } - packet_recycler.recycle(msgs_); + packet_recycler.recycle(msgs); } Ok(()) }