Update balance after calling scan_tx

This commit is contained in:
j-berman 2022-10-20 16:23:10 -05:00
parent aef4a982dc
commit 4cd6652825
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ Rectangle {
inputDialog.onAcceptedCallback = function() {
var txid = inputDialog.inputText.trim();
if (currentWallet.scanTransactions([txid])) {
updateBalance();
appWindow.showStatusMessage(qsTr("Transaction successfully scanned"), 3);
} else {
appWindow.showStatusMessage(qsTr("Failed to scan transaction") + ": " + currentWallet.errorString, 5);