Wallet: call getConflicts excluding equivalent tx

Should fix the conflicts notification issue.
This commit is contained in:
Tomasoashtonkai
2018-02-02 13:43:10 +01:00
parent 6a95766972
commit 07d1c2c9fa

View File

@@ -1192,7 +1192,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet, CWalletD
// Notifications for existing transactions that now have conflicts with this one
if (fInsertedNew)
{
BOOST_FOREACH(const uint256& conflictHash, wtxIn.GetConflicts())
BOOST_FOREACH(const uint256& conflictHash, wtxIn.GetConflicts(false))
{
CWalletTx& txConflict = mapWallet[conflictHash];
NotifyTransactionChanged(this, conflictHash, CT_UPDATED); //Updates UI table