Commit aaf68392 authored by presstab's avatar presstab

Set Proof of Stake in the block header version

parent df37e6c6
......@@ -415,6 +415,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn, CWallet* pwallet,
// Sign Block
if (fProofOfStake) {
pblock->SetProofOfStake(true);
if (!SignBlock(pblock)) {
LogPrintf("%s: Failed to sign block\n", __func__);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment