Skip to content

Commit 663b4b7

Browse files
authored
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
1 parent 3a83c3a commit 663b4b7

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
@@ -303,7 +303,7 @@ void CPrivateSendServer::CommitFinalTransaction(CConnman& connman)
303303
TRY_LOCK(cs_main, lockMain);
304304
CValidationState validationState;
305305
mempool.PrioritiseTransaction(hashTx, 0.1 * COIN);
306-
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee, true)) {
306+
if (!lockMain || !AcceptToMemoryPool(mempool, validationState, finalTransaction, false, nullptr, false, maxTxFee)) {
307307
LogPrint(BCLog::PRIVATESEND, "CPrivateSendServer::CommitFinalTransaction -- AcceptToMemoryPool() error: Transaction not valid\n");
308308
SetNull();
309309
// not much we can do in this case, just notify clients

0 commit comments

Comments
 (0)