Prevent negative z balances,Hide 0-balance addresses from the balances table,Rename new address to next address

This commit is contained in:
Denio
2019-12-03 19:42:06 +01:00
parent 25317b753d
commit 8d51375107
5 changed files with 46 additions and 15 deletions

View File

@@ -353,6 +353,9 @@ void Controller::updateUIBalances() {
CAmount balTotal = balT + balZ;
CAmount balAvailable = balT + balVerified;
if (balZ < 0) {
balZ = CAmount::fromqint64(0);
}
// Balances table
ui->balSheilded ->setText(balZ.toDecimalhushString());