Skip to content

Commit addaf8a

Browse files
committed
make sure to update the UI when deleting a transaction
1 parent 3ce8298 commit addaf8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3376,6 +3376,7 @@ DBErrors CWallet::ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256
33763376
const auto& it = mapWallet.find(hash);
33773377
wtxOrdered.erase(it->second.m_it_wtxOrdered);
33783378
mapWallet.erase(it);
3379+
NotifyTransactionChanged(this, hash, CT_DELETED);
33793380
}
33803381

33813382
if (nZapSelectTxRet == DBErrors::NEED_REWRITE)

0 commit comments

Comments
 (0)