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:
commit
2c8383a13d
@ -4663,7 +4663,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
|
|
||||||
mapAlreadyAskedFor.erase(inv);
|
mapAlreadyAskedFor.erase(inv);
|
||||||
|
|
||||||
if (AcceptToMemoryPool(mempool, state, tx, !allowFree, &fMissingInputs))
|
if (AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, false, allowFree))
|
||||||
{
|
{
|
||||||
mempool.check(pcoinsTip);
|
mempool.check(pcoinsTip);
|
||||||
RelayTransaction(tx);
|
RelayTransaction(tx);
|
||||||
|
Loading…
Reference in New Issue
Block a user