diff options
| author | Gavin Andresen <[email protected]> | 2013-11-03 20:07:36 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-03 20:07:36 -0800 |
| commit | a95a1c06b1823d13e8b685c6b18696ead1d17422 (patch) | |
| tree | 35a62a9d0df1c0bb9157e8cc85ab086c01c55217 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #3193 from joshtriplett/patch-1 (diff) | |
| parent | Refactor: CTxMempool class to its own txmempool.{cpp,h} (diff) | |
| download | discoin-a95a1c06b1823d13e8b685c6b18696ead1d17422.tar.xz discoin-a95a1c06b1823d13e8b685c6b18696ead1d17422.zip | |
Merge pull request #3154 from gavinandresen/mempool_refactor
Mempool refactor
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 49987ecc4..4771094e1 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -550,7 +550,7 @@ Value sendrawtransaction(const Array& params, bool fHelp) if (!fHave) { // push to local node CValidationState state; - if (!mempool.accept(state, tx, false, NULL, !fOverrideFees)) + if (!AcceptToMemoryPool(mempool, state, tx, false, NULL, !fOverrideFees)) throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX rejected"); // TODO: report validation state } } |