git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
260fe86
)
Bugfix: don't resurrect coinstake transactions
author
alex
<alex@alex-VirtualBox.(none)>
Sun, 19 Jan 2014 04:29:30 +0000 (08:29 +0400)
committer
alex
<alex@alex-VirtualBox.(none)>
Sun, 19 Jan 2014 04:29:30 +0000 (08:29 +0400)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
09f859c
..
f024819
100644
(file)
--- 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);
}