@@ -801,7 +801,7 @@ bool CWallet::MarkReplaced(const uint256& originalHash, const uint256& newHash)
801
801
success = false ;
802
802
}
803
803
804
- NotifyTransactionChanged (this , originalHash, CT_UPDATED);
804
+ NotifyTransactionChanged (originalHash, CT_UPDATED);
805
805
806
806
return success;
807
807
}
@@ -930,7 +930,7 @@ CWalletTx* CWallet::AddToWallet(CTransactionRef tx, const CWalletTx::Confirmatio
930
930
wtx.MarkDirty ();
931
931
932
932
// Notify UI of new or updated transaction
933
- NotifyTransactionChanged (this , hash, fInsertedNew ? CT_NEW : CT_UPDATED);
933
+ NotifyTransactionChanged (hash, fInsertedNew ? CT_NEW : CT_UPDATED);
934
934
935
935
#if HAVE_SYSTEM
936
936
// notify an external script when a wallet transaction comes in or is updated
@@ -1104,7 +1104,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx)
1104
1104
wtx.setAbandoned ();
1105
1105
wtx.MarkDirty ();
1106
1106
batch.WriteTx (wtx);
1107
- NotifyTransactionChanged (this , wtx.GetHash (), CT_UPDATED);
1107
+ NotifyTransactionChanged (wtx.GetHash (), CT_UPDATED);
1108
1108
// Iterate over all its outputs, and mark transactions in the wallet that spend them abandoned too
1109
1109
TxSpends::const_iterator iter = mapTxSpends.lower_bound (COutPoint (now, 0 ));
1110
1110
while (iter != mapTxSpends.end () && iter->first .hash == now) {
@@ -1944,7 +1944,7 @@ void CWallet::CommitTransaction(CTransactionRef tx, mapValue_t mapValue, std::ve
1944
1944
for (const CTxIn& txin : tx->vin ) {
1945
1945
CWalletTx &coin = mapWallet.at (txin.prevout .hash );
1946
1946
coin.MarkDirty ();
1947
- NotifyTransactionChanged (this , coin.GetHash (), CT_UPDATED);
1947
+ NotifyTransactionChanged (coin.GetHash (), CT_UPDATED);
1948
1948
}
1949
1949
1950
1950
// Get the inserted-CWalletTx from mapWallet so that the
@@ -1999,7 +1999,7 @@ DBErrors CWallet::ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256
1999
1999
for (const auto & txin : it->second .tx ->vin )
2000
2000
mapTxSpends.erase (txin.prevout );
2001
2001
mapWallet.erase (it);
2002
- NotifyTransactionChanged (this , hash, CT_DELETED);
2002
+ NotifyTransactionChanged (hash, CT_DELETED);
2003
2003
}
2004
2004
2005
2005
if (nZapSelectTxRet == DBErrors::NEED_REWRITE)
0 commit comments