Add to/from/via in turnstile progress dialog

This commit is contained in:
adityapk00
2018-10-30 14:09:58 -07:00
parent 9d1d4ff488
commit 8e0f816d37
7 changed files with 121 additions and 67 deletions

View File

@@ -243,7 +243,9 @@ ProgressReport Turnstile::getPlanProgress() {
i.status == TurnstileMigrationItemStatus::UnknownError;
}) != plan.end();
return ProgressReport{(int)step, total*2, nextBlock, hasErrors};
auto stepData = (nextStep == plan.end() ? std::prev(nextStep) : nextStep);
return ProgressReport{(int)step, total*2, nextBlock, hasErrors, stepData->fromAddr, stepData->destAddr, stepData->intTAddr};
}
void Turnstile::executeMigrationStep() {