mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
faucetd: Fix clippy false positive.
This commit is contained in:
@@ -284,7 +284,7 @@ async fn prune_airdrop_map(map: Arc<Mutex<HashMap<Address, i64>>>, timeout: i64)
|
||||
let im_map = map.lock().await;
|
||||
for (k, v) in im_map.iter() {
|
||||
if now - *v > timeout {
|
||||
prune.push(k);
|
||||
prune.push(k.clone());
|
||||
}
|
||||
}
|
||||
drop(im_map);
|
||||
|
||||
Reference in New Issue
Block a user