3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-14 11:15:49 +00:00

Remove Block.orphan() forced repository debugging

This commit is contained in:
catbref 2020-05-25 07:27:42 +01:00
parent 3afbd7aa51
commit db73afaf88

View File

@ -1450,8 +1450,6 @@ public class Block {
public void orphan() throws DataException {
LOGGER.trace(() -> String.format("Orphaning block %d", this.blockData.getHeight()));
this.repository.setDebug(true);
try {
// Return AT fees and delete AT states from repository
orphanAtFeesAndStates();
@ -1480,9 +1478,6 @@ public class Block {
this.blockData.setHeight(null);
postBlockTidy();
} finally {
this.repository.setDebug(false);
}
}
protected void orphanTransactionsFromBlock() throws DataException {