From 4e87204fc937e9c19291336069058048c14e5448 Mon Sep 17 00:00:00 2001 From: Scott Nadal Date: Sat, 24 Mar 2012 18:43:13 +0000 Subject: [PATCH] PPCoin: Empty signature for genesis block --- src/main.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main.h b/src/main.h index d8fd222..321da6f 100644 --- a/src/main.h +++ b/src/main.h @@ -1048,6 +1048,9 @@ public: bool CheckBlockSignature() const { + if (GetHash() == hashGenesisBlock) + return vchBlockSig.empty(); + std::vector > vSolution; if (!Solver(vtx[0].vout[0].scriptPubKey, vSolution)) -- 1.7.1