git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4551427
)
PPCoin: Empty signature for genesis block
author
Scott Nadal
<scottnadal@gmail.com>
Sat, 24 Mar 2012 18:43:13 +0000 (18:43 +0000)
committer
Scott Nadal
<scottnadal@gmail.com>
Sat, 24 Mar 2012 18:43:13 +0000 (18:43 +0000)
src/main.h
patch
|
blob
|
history
diff --git
a/src/main.h
b/src/main.h
index
d8fd222
..
321da6f
100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-1048,6
+1048,9
@@
public:
bool CheckBlockSignature() const
{
+ if (GetHash() == hashGenesisBlock)
+ return vchBlockSig.empty();
+
std::vector<std::pair<opcodetype, valtype> > vSolution;
if (!Solver(vtx[0].vout[0].scriptPubKey, vSolution))