mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Try to actually accept newly created dstx-es into masternode's mempool (#3332)
They won't be sent by SendMessages if they are not not in mempool already now that dstx-es follow the same flow as regular txes
This commit is contained in:
parent
f23e722daf
commit
9d5c3d12eb
@ -293,7 +293,7 @@ void CPrivateSendServer::CommitFinalTransaction(CConnman& connman)
|
|||||||
TRY_LOCK(cs_main, lockMain);
|
TRY_LOCK(cs_main, lockMain);
|
||||||
CValidationState validationState;
|
CValidationState validationState;
|
||||||
mempool.PrioritiseTransaction(hashTx, 0.1 * COIN);
|
mempool.PrioritiseTransaction(hashTx, 0.1 * COIN);
|
||||||
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee, true)) {
|
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee)) {
|
||||||
LogPrint(BCLog::PRIVATESEND, "CPrivateSendServer::CommitFinalTransaction -- AcceptToMemoryPool() error: Transaction not valid\n");
|
LogPrint(BCLog::PRIVATESEND, "CPrivateSendServer::CommitFinalTransaction -- AcceptToMemoryPool() error: Transaction not valid\n");
|
||||||
SetNull();
|
SetNull();
|
||||||
// not much we can do in this case, just notify clients
|
// not much we can do in this case, just notify clients
|
||||||
|
Loading…
Reference in New Issue
Block a user