aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-17 14:08:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-21 07:46:33 +0200
commit39d3f2cb40a539fff1daba3d76a6c59e932d0f0a (patch)
tree5cb73f064b26bc9a303cc3aef8a66993d0969be1 /src/wallet.cpp
parent680f7252f0ca3d68ef286ae074acf480e75896fe (diff)
downloadbitcoin-39d3f2cb40a539fff1daba3d76a6c59e932d0f0a.tar.xz
Revert "Add -respendnotify option and new RPC data"
This reverts commit 9004798e62e987ddf50030b17fa1881b63dd5e45.
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index f0ab70afb9..1fb4dba308 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -620,14 +620,6 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet)
if (IsFromMe(txConflict) || IsMine(txConflict))
{
NotifyTransactionChanged(this, conflictHash, CT_GOT_CONFLICT); //Throws dialog
- // external respend notify
- std::string strCmd = GetArg("-respendnotify", "");
- if (!strCmd.empty())
- {
- boost::replace_all(strCmd, "%s", wtxIn.GetHash().GetHex());
- boost::replace_all(strCmd, "%t", conflictHash.GetHex());
- boost::thread t(runCommand, strCmd); // thread runs free
- }
}
}
}