diff --git a/README.md b/README.md index 8e966ae46fb..993544a5c46 100644 --- a/README.md +++ b/README.md @@ -276,6 +276,7 @@ For private test net, the IPs are allocated by yourself. ## Running a local node and connecting to the public testnet * Ensure that the version number is consistent with the version number of the test network. If it is not consistent, Please modify the node.p2p.version in the config.conf file, and delete the out-directory directory (if it exists) +* The current p2p.version is **61** ### Running a Full Node diff --git a/src/main/java/org/tron/core/db/Manager.java b/src/main/java/org/tron/core/db/Manager.java index 30472ac92d5..320ce850e01 100644 --- a/src/main/java/org/tron/core/db/Manager.java +++ b/src/main/java/org/tron/core/db/Manager.java @@ -757,9 +757,13 @@ public synchronized void pushBlock(final BlockCapsule block) applyBlock(newBlock); tmpDialog.commit(); } catch (RevokingStoreIllegalStateException e) { - logger.debug(e.getMessage(), e); - } + logger.error(e.getMessage(), e); + } catch (Throwable throwable) { + logger.error(throwable.getMessage(), throwable); + khaosDb.removeBlk(block.getBlockId()); + throw throwable; } + } logger.info("save block: " + newBlock); } }