Skip to content

Commit cdba747

Browse files
UdjinM6cevap
authored and
cevap
committed
Try to actually accept newly created dstx-es into masternode's mempool (dashpay#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 Signed-off-by: cevap <[email protected]>
1 parent d52e936 commit cdba747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/privatesend/privatesend-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ void CPrivateSendServer::CommitFinalTransaction(CConnman& connman)
293293
TRY_LOCK(cs_main, lockMain);
294294
CValidationState validationState;
295295
mempool.PrioritiseTransaction(hashTx, 0.1 * COIN);
296-
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee, true)) {
296+
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee)) {
297297
LogPrint(BCLog::PRIVATESEND, "CPrivateSendServer::CommitFinalTransaction -- AcceptToMemoryPool() error: Transaction not valid\n");
298298
SetNull();
299299
// not much we can do in this case, just notify clients

0 commit comments

Comments
 (0)