diff --git a/src/rpc.cpp b/src/rpc.cpp index 2c207cd..8e2ba37 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -780,10 +780,11 @@ void RPC::refreshMigration() { this->migrationStatus.unmigrated = QString::fromStdString(reply["unmigrated_amount"]).toDouble(); this->migrationStatus.migrated = QString::fromStdString(reply["finalized_migrated_amount"]).toDouble(); - this->migrationStatus.txids.empty(); + QList ids; for (auto& it : reply["migration_txids"].get()) { - this->migrationStatus.txids.push_back(QString::fromStdString(it.get())); + ids.push_back(QString::fromStdString(it.get())); } + this->migrationStatus.txids = ids; }); }