Merge pull request #217 from cubedro/develop

Fixed fork detection bug
This commit is contained in:
Marian OANCΞA 2015-07-21 18:47:03 +03:00
commit 59688966ae
1 changed files with 1 additions and 6 deletions

View File

@ -202,12 +202,7 @@ function compareBlocks(block1, block2)
block1.stateRoot !== block2.stateRoot ||
block1.miner !== block2.miner ||
block1.difficulty !== block2.difficulty ||
block1.totalDifficulty !== block2.totalDifficulty ||
block1.extraData !== block2.extraData ||
block1.gasLimit !== block2.gasLimit ||
block1.gasUsed !== block2.gasUsed ||
block1.transactions.length !== block2.transactions.length ||
block1.uncles.length !== block2.uncles.length)
block1.totalDifficulty !== block2.totalDifficulty)
return false;
return true;