aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-01-26 11:27:48 -0800
committerGavin Andresen <[email protected]>2013-01-26 11:27:48 -0800
commit434fa60d75f14b667b695654e27f524e3f0c9359 (patch)
tree84ed7046c3e2f17082818537e620818a01cc476b /src/rpcrawtransaction.cpp
parentMerge pull request #2222 from sipa/check288 (diff)
parentLet limitfreerelay=0 reject ALL free transactions (diff)
downloaddiscoin-434fa60d75f14b667b695654e27f524e3f0c9359.tar.xz
discoin-434fa60d75f14b667b695654e27f524e3f0c9359.zip
Merge pull request #2182 from gavinandresen/addressoracle
Remove IsFromMe() check in CTxMemPool::accept()
Diffstat (limited to 'src/rpcrawtransaction.cpp')
-rw-r--r--src/rpcrawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp
index 09fbaa30c..8d89c2f30 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -546,7 +546,7 @@ Value sendrawtransaction(const Array& params, bool fHelp)
fHave = view.GetCoins(hashTx, existingCoins);
if (!fHave) {
// push to local node
- if (!tx.AcceptToMemoryPool())
+ if (!tx.AcceptToMemoryPool(true, false))
throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX rejected");
}
}