aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-01-11 11:15:41 +0100
committerAlex Morcos <morcos@chaincode.com>2016-01-13 08:42:04 -0500
commitd11fc1695c0453ef22a633e516726f82717dd1d9 (patch)
tree56479d5ebf380ad758cc34ab9d1fb6f5469e2e84 /src/wallet/wallet.cpp
parentdf0e2226d998483d247c0245170f6b8ff6433b1d (diff)
downloadbitcoin-d11fc1695c0453ef22a633e516726f82717dd1d9.tar.xz
[Wallet] Call notification signal when a transaction is abandoned
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 68e3b2fe58..78371ee30a 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -815,6 +815,7 @@ bool CWallet::AbandonTransaction(const uint256& hashTx)
wtx.setAbandoned();
wtx.MarkDirty();
wtx.WriteToDisk(&walletdb);
+ NotifyTransactionChanged(this, wtx.GetHash(), CT_UPDATED);
// Iterate over all its outputs, and mark transactions in the wallet that spend them abandoned too
TxSpends::const_iterator iter = mapTxSpends.lower_bound(COutPoint(hashTx, 0));
while (iter != mapTxSpends.end() && iter->first.hash == now) {