Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed May 10, 2023
1 parent 2c11587 commit 86850be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ use ::time::OffsetDateTime;
use anyhow::{anyhow, ensure, Result};
use indexmap::IndexMap;
use parking_lot::RwLock;
use rayon::iter::ParallelIterator;
use std::sync::Arc;

#[cfg(feature = "parallel")]
use rayon::prelude::*;

#[derive(Clone)]
pub struct Consensus<N: Network, C: ConsensusStorage<N>> {
/// The ledger.
Expand Down

0 comments on commit 86850be

Please sign in to comment.