When a transaction spends outputs owned by the wallet, the wallet invalidates
the cached amounts of the transactions those outputs came from, and
CommitTransaction also notifies them. Neither is needed.
Both date back to pre-#27286, when a CWalletTx also cached the available
amount. Now the balance is read live from m_txos and mapTxSpends, and
CWalletTx cache only its own, tx specific, incoming and outgoing amounts,
and whether the tx is from the wallet. None of this changes after one of its
outputs is spent. So the cache invalidation recomputes the same values, and
the notification makes the GUI refresh a status that has not changed.