aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2015-10-02 14:20:38 -0700
committerMatt Corallo <[email protected]>2015-10-13 01:39:38 -0700
commitd355cf4420043a866e418c97778d999cd1958f61 (patch)
treeffd7f4048f86201a3737bb04a795d1c5c60970b0 /src/rpcrawtransaction.cpp
parentImplement on-the-fly mempool size limitation. (diff)
downloaddiscoin-d355cf4420043a866e418c97778d999cd1958f61.tar.xz
discoin-d355cf4420043a866e418c97778d999cd1958f61.zip
Only call TrimToSize once per reorg/blocks disconnect
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 4dec53396..4b9647350 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -809,7 +809,7 @@ UniValue sendrawtransaction(const UniValue& params, bool fHelp)
// push to local node and sync with wallets
CValidationState state;
bool fMissingInputs;
- if (!AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, !fOverrideFees)) {
+ if (!AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, false, !fOverrideFees)) {
if (state.IsInvalid()) {
throw JSONRPCError(RPC_TRANSACTION_REJECTED, strprintf("%i: %s", state.GetRejectCode(), state.GetRejectReason()));
} else {