Browse Source

do turnstile step only if blockchain is not syncing

import_zecw
Aditya Kulkarni 6 years ago
parent
commit
0f4ad90eac
  1. 4
      src/turnstile.cpp

4
src/turnstile.cpp

@ -247,6 +247,10 @@ ProgressReport Turnstile::getPlanProgress() {
}
void Turnstile::executeMigrationStep() {
// Do a step only if not syncing, else wait for the blockchain to catch up
if (Settings::getInstance()->isSyncing())
return;
auto plan = readMigrationPlan();
//qDebug() << QString("Executing step");

Loading…
Cancel
Save