mirror of
https://github.com/logos-blockchain/logos-execution-zone-wallet-ui.git
synced 2026-07-29 22:23:30 +00:00
fix account sync discovery
This commit is contained in:
parent
a724a8ece5
commit
fc28a83191
@ -175,6 +175,10 @@ void LEZWalletBackend::syncNextChunk()
|
||||
const quint64 synced = static_cast<quint64>(lastSyncedBlock());
|
||||
if (synced >= m_syncTarget) {
|
||||
m_syncing = false;
|
||||
// Sync may have discovered new private accounts (e.g. shielded transfers to a
|
||||
// foreign NPK/VPK); re-list so the model picks them up without a restart.
|
||||
QVariantList arr = m_logos->logos_execution_zone.list_accounts();
|
||||
m_accountModel->replaceFromVariantList(arr);
|
||||
fetchAndUpdateBlockHeights();
|
||||
updateBalances();
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user