Skip to content

Commit 9cae056

Browse files
authored
Merge branch 'master' into develop
2 parents 184028b + ad2e588 commit 9cae056

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ For private test net, the IPs are allocated by yourself.
276276
## Running a local node and connecting to the public testnet
277277

278278
* 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)
279+
* The current p2p.version is **61**
279280

280281
### Running a Full Node
281282

src/main/java/org/tron/core/db/Manager.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,9 +757,13 @@ public synchronized void pushBlock(final BlockCapsule block)
757757
applyBlock(newBlock);
758758
tmpDialog.commit();
759759
} catch (RevokingStoreIllegalStateException e) {
760-
logger.debug(e.getMessage(), e);
761-
}
760+
logger.error(e.getMessage(), e);
761+
} catch (Throwable throwable) {
762+
logger.error(throwable.getMessage(), throwable);
763+
khaosDb.removeBlk(block.getBlockId());
764+
throw throwable;
762765
}
766+
}
763767
logger.info("save block: " + newBlock);
764768
}
765769
}

0 commit comments

Comments
 (0)