We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9c357 commit a9109f4Copy full SHA for a9109f4
src/main/java/org/tron/core/db/Manager.java
@@ -605,7 +605,13 @@ public void pushVerifiedBlock(BlockCapsule block) throws ContractValidateExcepti
605
TaposException, ValidateScheduleException, ReceiptCheckErrException,
606
VMIllegalException, TooBigTransactionResultException {
607
block.generatedByMyself = true;
608
- applyBlock(block);
+ try (ISession tmpSession = revokingStore.buildSession()) {
609
+ applyBlock(block);
610
+ tmpSession.commit();
611
+ } catch (Throwable throwable) {
612
+ logger.error(throwable.getMessage(), throwable);
613
+ throw throwable;
614
+ }
615
}
616
617
private void applyBlock(BlockCapsule block) throws ContractValidateException,
0 commit comments