Update balance directly after sending transaction

This commit is contained in:
tobtoht 2020-12-31 03:22:37 +01:00
parent 5b679da427
commit cc9b8a9e6d
No known key found for this signature in database
GPG Key ID: 1CADD27F41F45C3C
1 changed files with 2 additions and 0 deletions

View File

@ -757,6 +757,8 @@ void AppContext::onTransactionCommitted(bool status, PendingTransaction *tx, con
// Store wallet immediately so we don't risk losing tx key if wallet crashes
this->currentWallet->store();
this->updateBalance();
emit transactionCommitted(status, tx, txid);
// this tx was a donation to Feather, stop our nagging