Browse Source

style

cl-refactor
arkpar 10 years ago
parent
commit
fbe0d01ee7
  1. 4
      libethereum/EthereumHost.cpp

4
libethereum/EthereumHost.cpp

@ -118,11 +118,11 @@ void EthereumHost::doWork()
if (m_syncStart)
{
Guard l(x_sync);
DEV_GUARDED(x_sync);
if (!m_sync)
{
time_t now = std::chrono::system_clock::to_time_t(chrono::system_clock::now());
if ((now - m_syncStart) > 10)
if (now - m_syncStart > 10)
{
m_sync.reset(new PV60Sync(*this));
m_syncStart = 0;

Loading…
Cancel
Save