Skip to content

Commit a6f5e60

Browse files
committed
Fix assertion
1 parent 90768dd commit a6f5e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ bool ReorganizeChain(CTxDB& txdb, unsigned &cnt_dis, unsigned &cnt_con, CBlock &
29982998
assert(pindexNew);
29992999
//assert(!pindexNew->pnext);
30003000
//assert(pindexBest || hashBestChain == pindexBest->GetBlockHash());
3001-
//assert(nBestHeight = pindexBest->nHeight && nBestChainTrust == pindexBest->nChainTrust);
3001+
//assert(nBestHeight == pindexBest->nHeight && nBestChainTrust == pindexBest->nChainTrust);
30023002
//assert(!pindexBest->pnext);
30033003
assert(pindexNew->GetBlockHash()==blockNew.GetHash(true));
30043004
/* note: it was already determined that this chain is better than current best */

0 commit comments

Comments
 (0)