Revert "Add -respendnotify option and new RPC data"

This reverts commit 9004798e62.
This commit is contained in:
Wladimir J. van der Laan
2014-07-17 14:08:21 +02:00
parent 680f7252f0
commit 39d3f2cb40
3 changed files with 0 additions and 33 deletions

View File

@@ -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
}
}
}
}