Commit 959b5766 authored by Tom Bradshaw's avatar Tom Bradshaw

Do not load coinstake transactions to mempool.

parent 37e7db93
Pipeline #887 canceled with stage
in 84 minutes and 35 seconds
......@@ -997,7 +997,7 @@ void CWallet::ReacceptWalletTransactions()
int nDepth = wtx.GetDepthInMainChain();
if (!wtx.IsCoinBase() && nDepth < 0)
if (!wtx.IsCoinBase() && !wtx.IsCoinStake() && nDepth < 0)
{
// Try to add to memory pool
LOCK(mempool.cs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment