Skip to content

Commit

Permalink
version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
niels1286 committed May 29, 2019
1 parent 9d9a8fb commit be79795
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ public Result verifyBlock(Block block, boolean isDownload, boolean isNeedCheckCo
return Result.getFailed();
}
if (!preHash.equals(bestBlockHeader.getHash())) {
Log.error("block height " + blockHeader.getHeight() + " prehash is error! hash :" + blockHeader.getHash() + ", prehash : " + preHash);
Log.error("preblock height " + chain.getEndBlockHeader().getHeight() + " prehash is error! EndBlockHeader hash:" + chain.getEndBlockHeader().getHash() + ", prehash : " + blockHeader.getPreHash());
// Log.error("block height " + blockHeader.getHeight() + " prehash is error! hash :" + blockHeader.getHash() + ", prehash : " + preHash);
// Log.error("preblock height " + chain.getEndBlockHeader().getHeight() + " prehash is error! EndBlockHeader hash:" + chain.getEndBlockHeader().getHash() + ", prehash : " + blockHeader.getPreHash());
return Result.getFailed();
}

Expand Down

0 comments on commit be79795

Please sign in to comment.