make sure to update the UI when deleting a transaction

This commit is contained in:
Jonas Schnelli 2019-09-24 11:15:15 +02:00
parent 3ce8298888
commit addaf8af82
No known key found for this signature in database
GPG key ID: 1EB776BB03C7922D

View file

@ -3376,6 +3376,7 @@ DBErrors CWallet::ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256
const auto& it = mapWallet.find(hash);
wtxOrdered.erase(it->second.m_it_wtxOrdered);
mapWallet.erase(it);
NotifyTransactionChanged(this, hash, CT_DELETED);
}
if (nZapSelectTxRet == DBErrors::NEED_REWRITE)