aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-01-26 11:27:48 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-01-26 11:27:48 -0800
commit434fa60d75f14b667b695654e27f524e3f0c9359 (patch)
tree84ed7046c3e2f17082818537e620818a01cc476b /src/rpcrawtransaction.cpp
parentbb5181fcc2e342966cc1c4b5efc98fc012a34fcc (diff)
parent9c9f5c1303dff0c010e9e68ba7b5619330edfb68 (diff)
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 09fbaa30cd..8d89c2f302 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");
}
}