Merge pull request #369 from UdjinM6/v0.12.0.x_fix_ProcessMessage_AcceptToMemoryPool

V0.12.0.x use v11-like AcceptToMemoryPool call in ProcessMessage(dstx/tx)
This commit is contained in:
evan82 2015-06-20 10:14:44 -07:00
commit 2c8383a13d

View File

@ -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);