pub(super) fn prune_pending_deploys(
    deploys: &mut HashMap<DeployHash, (DeployInfo, Timestamp)>,
    current_instant: Timestamp,
) -> Vec<DeployHash> {
    hashmap_drain_filter_in_place(deploys, |(deploy_info, _)| {
        deploy_info.header.expired(current_instant)
    })
}
/// Prunes expired deploy information from an individual pending deploy collection, returns the
/// hashes of deploys pruned.
Prunes expired deploy information from an individual pending deploy collection, returns the
hashes of deploys pruned.
Prunes expired deploy information from an individual pending deploy collection returns the hashes of deploys pruned .
pub(super) fn prune_pending_deploys(
    deploys: &mut HashMap<DeployHash, (DeployInfo, Timestamp)>,
    current_instant: Timestamp,
) -> Vec<DeployHash> {
    hashmap_drain_filter_in_place(deploys, |(deploy_info, _)| {
        deploy_info.header.expired(current_instant)
    })
}
pub ( super ) fn prune_pending_deploys ( deploys : & mut HashMap < DeployHash , ( DeployInfo , Timestamp ) > , current_instant : Timestamp , ) -> Vec < DeployHash > { hashmap_drain_filter_in_place ( deploys , | ( deploy_info , _ ) | { deploy_info . header . expired ( current_instant ) } ) }
Prunes expired deploy information from an individual pending deploy collection, returns the
hashes of deploys pruned.
Prunes expired deploy information from an individual pending deploy collection returns the hashes of deploys pruned .
deploys
&mut HashMap<DeployHash, (DeployInfo, Timestamp)>
current_instant
Timestamp
deploys
&mut HashMap<DeployHash, (DeployInfo, Timestamp)>
current_instant
Timestamp