|
|
|
@ -1196,7 +1196,7 @@ bool ConnectBestBlock() {
@@ -1196,7 +1196,7 @@ bool ConnectBestBlock() {
|
|
|
|
|
pindexNewBest = *it; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (pindexNewBest == pindexBest) |
|
|
|
|
if (pindexNewBest == pindexBest || (pindexBest && pindexNewBest->bnChainWork == pindexBest->bnChainWork)) |
|
|
|
|
return true; // nothing to do
|
|
|
|
|
|
|
|
|
|
// check ancestry
|
|
|
|
|