Prevent negative z balances,Hide 0-balance addresses from the balances table,Rename new address to next address
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user