Place Sync/Send in trait.

This commit is contained in:
Gav Wood
2016-03-11 13:19:10 +01:00
parent e461916f5a
commit d71c5d4c17
5 changed files with 17 additions and 17 deletions

View File

@@ -101,7 +101,7 @@ impl ClientReport {
pub struct Client<V = CanonVerifier> where V: Verifier {
chain: Arc<BlockChain>,
engine: Arc<Box<Engine>>,
state_db: Mutex<Box<JournalDB + Send>>,
state_db: Mutex<Box<Box<JournalDB>>>,
block_queue: BlockQueue,
report: RwLock<ClientReport>,
import_lock: Mutex<()>,