From 9668791339f4a6961e91b638d23c6961497ca277 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 19 Jan 2014 08:29:30 +0400 Subject: [PATCH] Bugfix: don't resurrect coinstake transactions --- src/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 09f859c..f024819 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1790,7 +1790,7 @@ bool CBlock::SetBestChain(CBlockIndex* pindexNew) // Queue memory transactions to resurrect BOOST_FOREACH(const CTransaction& tx, block.vtx) - if (!tx.IsCoinBase()) + if (!tx.IsCoinBase() && !tx.IsCoinStake()) vResurrect.push_back(tx); } -- 1.7.1