Skip to content

Commit

Permalink
Do not skip on IsProofOfStake
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Dec 4, 2018
1 parent 82c42bb commit 30735a8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2564,10 +2564,6 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
control.Add(vChecks);
}

// Do not create coinbase coins for proof-of-stake block
if (block.IsProofOfStake() && tx.IsCoinBase())
continue;

CTxUndo undoDummy;
if (i > 0) {
blockundo.vtxundo.push_back(CTxUndo());
Expand Down

0 comments on commit 30735a8

Please sign in to comment.