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:
parent
3afbd7aa51
commit
db73afaf88
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user