mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
update history when new block is found
This commit is contained in:
parent
2e3350c060
commit
bd959085f2
1 changed files with 2 additions and 2 deletions
4
main.qml
4
main.qml
|
@ -334,8 +334,8 @@ ApplicationWindow {
|
|||
console.log(">>> wallet updated")
|
||||
middlePanel.unlockedBalanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(currentWallet.unlockedBalance);
|
||||
middlePanel.balanceText = leftPanel.balanceText = walletManager.displayAmount(currentWallet.balance);
|
||||
// Update history if new block found since last update and balance is locked.
|
||||
if(foundNewBlock && currentWallet.history.locked) {
|
||||
// Update history if new block found since last update
|
||||
if(foundNewBlock) {
|
||||
foundNewBlock = false;
|
||||
console.log("New block found - updating history")
|
||||
currentWallet.history.refresh()
|
||||
|
|
Loading…
Reference in a new issue