Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiEres committed Oct 2, 2024
1 parent 59b1a5d commit 3da2890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polkadot/node/core/backing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
use std::{
collections::{HashMap, HashSet},
sync::Arc,
time::Instant,
time::{Duration, Instant},
};

use bitvec::vec::BitVec;
Expand Down Expand Up @@ -2237,6 +2237,6 @@ fn validation_request_ttl(mode: ProspectiveParachainsMode) -> Option<Instant> {
if ttl_in_blocks < 1 {
None
} else {
Instant::now() + Duration::from_millis(MILLISECS_PER_BLOCK * ttl_in_blocks)
Some(Instant::now() + Duration::from_millis(MILLISECS_PER_BLOCK * ttl_in_blocks))
}
}

0 comments on commit 3da2890

Please sign in to comment.