make sure to update the UI when deleting a transaction
This commit is contained in:
parent
3ce8298888
commit
addaf8af82
1 changed files with 1 additions and 0 deletions
|
@ -3376,6 +3376,7 @@ DBErrors CWallet::ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256
|
||||||
const auto& it = mapWallet.find(hash);
|
const auto& it = mapWallet.find(hash);
|
||||||
wtxOrdered.erase(it->second.m_it_wtxOrdered);
|
wtxOrdered.erase(it->second.m_it_wtxOrdered);
|
||||||
mapWallet.erase(it);
|
mapWallet.erase(it);
|
||||||
|
NotifyTransactionChanged(this, hash, CT_DELETED);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nZapSelectTxRet == DBErrors::NEED_REWRITE)
|
if (nZapSelectTxRet == DBErrors::NEED_REWRITE)
|
||||||
|
|
Loading…
Reference in a new issue