diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-11 11:15:41 +0100 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2016-01-13 08:42:04 -0500 |
commit | d11fc1695c0453ef22a633e516726f82717dd1d9 (patch) | |
tree | 56479d5ebf380ad758cc34ab9d1fb6f5469e2e84 /src/wallet | |
parent | df0e2226d998483d247c0245170f6b8ff6433b1d (diff) |
[Wallet] Call notification signal when a transaction is abandoned
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
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) { |