Skip to content

Commit

Permalink
Fix staking assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tohsnoom committed Nov 11, 2019
1 parent b56450e commit 0a6a243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4798,7 +4798,7 @@ bool ProcessNewBlock(CValidationState& state, CNode* pfrom, CBlock* pblock, CDis
bool TestBlockValidity(CValidationState& state, const CBlock& block, CBlockIndex* const pindexPrev, bool fCheckPOW, bool fCheckMerkleRoot)
{
AssertLockHeld(cs_main);
assert(pindexPrev == chainActive.Tip());
assert(pindexPrev && pindexPrev == chainActive.Tip());

CCoinsViewCache viewNew(pcoinsTip);
CBlockIndex indexDummy(block);
Expand Down

0 comments on commit 0a6a243

Please sign in to comment.