Skip to content

Commit a6216c7

Browse files
committed
khaos has to rollblack when applyBlock throw Exception
1 parent 6aade4b commit a6216c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ public synchronized void pushBlock(final BlockCapsule block)
709709
applyBlock(newBlock);
710710
tmpDialog.commit();
711711
} catch (RevokingStoreIllegalStateException e) {
712-
logger.debug(e.getMessage(), e);
712+
logger.error(e.getMessage(), e);
713713
} catch (Throwable throwable) {
714714
logger.error(throwable.getMessage(), throwable);
715715
khaosDb.removeBlk(block.getBlockId());

0 commit comments

Comments
 (0)