Should not be in Git
This commit is contained in:
parent
0dbd944b88
commit
74e388bc2f
|
@ -198,8 +198,8 @@ public class Blockchain {
|
||||||
String worldStateRootHash = Hex.toHexString(WorldManager.getInstance().getRepository().getWorldState().getRootHash());
|
String worldStateRootHash = Hex.toHexString(WorldManager.getInstance().getRepository().getWorldState().getRootHash());
|
||||||
if(!blockStateRootHash.equals(worldStateRootHash)){
|
if(!blockStateRootHash.equals(worldStateRootHash)){
|
||||||
logger.warn("BLOCK: STATE CONFLICT! block: {} worldstate {} mismatch", block.getNumber(), worldStateRootHash);
|
logger.warn("BLOCK: STATE CONFLICT! block: {} worldstate {} mismatch", block.getNumber(), worldStateRootHash);
|
||||||
repository.close();
|
// repository.close();
|
||||||
System.exit(-1); // Don't add block
|
// System.exit(-1); // Don't add block
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue