diff --git a/ethcore/sync/src/api.rs b/ethcore/sync/src/api.rs index 6270bcfd596..c66a1c6a625 100644 --- a/ethcore/sync/src/api.rs +++ b/ethcore/sync/src/api.rs @@ -318,7 +318,7 @@ impl EthSync { impl SyncProvider for EthSync { /// Get sync status fn status(&self) -> EthSyncStatus { - self.eth_handler.sync.write().status() + self.eth_handler.sync.read().status() } /// Get sync peers