Merge pull request #2967

1c62ede Revert 'main: update balance only when wallet is synced' (selsta)
This commit is contained in:
luigi1111 2020-06-24 13:36:53 -05:00
commit ccd8eb1c3a
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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