1
mirror of https://github.com/monero-project/monero-gui synced 2025-03-07 13:19:18 +01:00

Merge pull request #2947

333c9ee main: update balance only when wallet is synced (rating89us)
This commit is contained in:
luigi1111 2020-06-19 16:13:48 -05:00
commit c32e11d3e8
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -416,7 +416,7 @@ ApplicationWindow {
var balance = "?.??";
var balanceU = "?.??";
if(!hideBalanceForced && !persistentSettings.hideBalance){
if(!hideBalanceForced && !persistentSettings.hideBalance && appWindow.walletSynced){
balance = walletManager.displayAmount(currentWallet.balance());
balanceU = walletManager.displayAmount(currentWallet.unlockedBalance());
}