forked from Qortal/qortal
Remove Block.orphan() forced repository debugging
This commit is contained in:
parent
3afbd7aa51
commit
db73afaf88
@ -1450,8 +1450,6 @@ public class Block {
|
|||||||
public void orphan() throws DataException {
|
public void orphan() throws DataException {
|
||||||
LOGGER.trace(() -> String.format("Orphaning block %d", this.blockData.getHeight()));
|
LOGGER.trace(() -> String.format("Orphaning block %d", this.blockData.getHeight()));
|
||||||
|
|
||||||
this.repository.setDebug(true);
|
|
||||||
try {
|
|
||||||
// Return AT fees and delete AT states from repository
|
// Return AT fees and delete AT states from repository
|
||||||
orphanAtFeesAndStates();
|
orphanAtFeesAndStates();
|
||||||
|
|
||||||
@ -1480,9 +1478,6 @@ public class Block {
|
|||||||
this.blockData.setHeight(null);
|
this.blockData.setHeight(null);
|
||||||
|
|
||||||
postBlockTidy();
|
postBlockTidy();
|
||||||
} finally {
|
|
||||||
this.repository.setDebug(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void orphanTransactionsFromBlock() throws DataException {
|
protected void orphanTransactionsFromBlock() throws DataException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user