Merge pull request #2158

ceed212 wallet: fix deadlock, omit invoking 'refresh' from callback (xiphon)
This commit is contained in:
luigi1111 2019-05-10 13:21:14 -05:00
commit 80a992553d
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 0 additions and 2 deletions

View File

@ -750,7 +750,6 @@ ApplicationWindow {
function onWalletMoneyReceived(txId, amount) {
// refresh transaction history here
currentWallet.refresh()
console.log("Confirmed money found")
// history refresh is handled by walletUpdated
currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model
@ -772,7 +771,6 @@ ApplicationWindow {
function onWalletMoneySent(txId, amount) {
// refresh transaction history here
console.log("monero sent found")
currentWallet.refresh()
currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model
if(middlePanel.state == "History")