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

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 // Store wallet immediately so we don't risk losing tx key if wallet crashes
this->currentWallet->store(); this->currentWallet->store();
this->updateBalance();
emit transactionCommitted(status, tx, txid); emit transactionCommitted(status, tx, txid);
// this tx was a donation to Feather, stop our nagging // this tx was a donation to Feather, stop our nagging