Simulate Account (-> because DeviceController ...

... functions currently do not provide usefull results.
This commit is contained in:
Siegfried Siegert 2023-06-22 14:54:54 +02:00
parent 9cd10bfed8
commit 80112f23b4
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -199,6 +199,10 @@ void ATBDeviceControllerPlugin::private_checkAccountData()
// cannot get accountData within ~10*500ms
qCritical() << "checkAccountData() failed";
// simulate:
this->private_getAccountData();
// TODO: create and send an HealthEvent...
}
}
@ -220,6 +224,9 @@ void ATBDeviceControllerPlugin::private_getAccountData()
int numberOfCoinVariants = sizeof(retVR.coinsInVault);
// DEBUG
qCritical() << " NumberOfCoinVariants = " << numberOfCoinVariants;
// limit numberOfCoinVariants:
if (numberOfCoinVariants > 16) { numberOfCoinVariants = 16; }