git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't reaccept coinstakes
[novacoin.git]
/
src
/
rpcmining.cpp
diff --git
a/src/rpcmining.cpp
b/src/rpcmining.cpp
index
72b850e
..
84cd21e
100644
(file)
--- a/
src/rpcmining.cpp
+++ b/
src/rpcmining.cpp
@@
-372,7
+372,7
@@
Value getblocktemplate(const Array& params, bool fHelp)
uint256 txHash = tx.GetHash();
setTxIndex[txHash] = i++;
- if (tx.IsCoinBase())
+ if (tx.IsCoinBase() || tx.IsCoinStake())
continue;
Object entry;