diff options
| author | Jeff Garzik <[email protected]> | 2013-06-10 06:17:38 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-06-10 06:17:38 -0700 |
| commit | f59530ce6eb5a889e6eb750024ddb20e7b0df9d7 (patch) | |
| tree | e224b540dce7890cbf54f43215a05213bd5cb494 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #2749 from laanwj/2013_06_addtotalbalance (diff) | |
| parent | Removed the main.h include from net.cpp. (diff) | |
| download | discoin-f59530ce6eb5a889e6eb750024ddb20e7b0df9d7.tar.xz discoin-f59530ce6eb5a889e6eb750024ddb20e7b0df9d7.zip | |
Merge pull request #2154 from CodeShark/dependencycleanup
Clean up code dependencies
Diffstat (limited to 'src/rpcrawtransaction.cpp')
| -rw-r--r-- | src/rpcrawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index c1e05466e..917c2f5de 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -555,7 +555,7 @@ Value sendrawtransaction(const Array& params, bool fHelp) if (!fHave) { // push to local node CValidationState state; - if (!tx.AcceptToMemoryPool(state, true, false)) + if (!mempool.accept(state, tx, true, false, NULL)) throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX rejected"); // TODO: report validation state } } |