From 97c97f7e40cf1e00681d336a4bfc2f7d54ed7af6 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 20 Jun 2015 05:33:15 +0300 Subject: [PATCH] use v11-like AcceptToMemoryPool call in ProcessMessage(dstx/tx) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1a3de9909..2507a7ff2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4663,7 +4663,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, mapAlreadyAskedFor.erase(inv); - if (AcceptToMemoryPool(mempool, state, tx, !allowFree, &fMissingInputs)) + if (AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, false, allowFree)) { mempool.check(pcoinsTip); RelayTransaction(tx);