Skip to content
Snippets Groups Projects
Commit faebbc38 authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky
Browse files

fixed grumbles

parent 4a4c38be
No related merge requests found
use std::collections::VecDeque;
use std::sync::Arc;
use parking_lot::{Mutex, RwLock};
use parking_lot::Mutex;
use chain;
use storage;
use miner::MemoryPool;
use network::ConsensusParams;
use primitives::hash::H256;
use super::Error;
......@@ -101,7 +100,7 @@ impl BlocksWriterSinkData {
/// Create new blocks writer data
pub fn new(storage: StorageRef) -> Self {
BlocksWriterSinkData {
chain: Chain::new(storage, Arc::new(RwLock::new(MemoryPool::new()))),
chain: Chain::new(storage, Default::default()),
err: None,
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment