Merge pull request 'Update balance directly after sending transaction' (#279) from tobtoht/feather:send_update_balance into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/279
This commit is contained in:
tobtoht 2020-12-31 02:23:20 +00:00
commit 0869b4e456

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