Bump mempool counter on each successful IS lock (#2864)

This commit is contained in:
UdjinM6 2019-04-15 17:41:51 +03:00 committed by GitHub
parent a67e661433
commit 5e865f9c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -805,6 +805,8 @@ void CInstantSendManager::UpdateWalletTransaction(const uint256& txid, const CTr
if (tx) { if (tx) {
GetMainSignals().NotifyTransactionLock(*tx); GetMainSignals().NotifyTransactionLock(*tx);
// bump mempool counter to make sure newly mined txes are picked up by getblocktemplate
mempool.AddTransactionsUpdated(1);
} }
} }