mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-26 23:44:34 +00:00
Disable fix in order for the chain history to remain valid
This commit is contained in:
parent
d579606d2d
commit
4f9a4a2091
@ -1557,10 +1557,10 @@ public class Block {
|
|||||||
SelfSponsorshipAlgoV1Block.processAccountPenalties(this);
|
SelfSponsorshipAlgoV1Block.processAccountPenalties(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.blockData.getHeight() == BlockChain.getInstance().getPenaltyFixHeight()) {
|
// Disabled because is fixed
|
||||||
// Apply fix for penalties
|
//if (this.blockData.getHeight() == BlockChain.getInstance().getPenaltyFixHeight()) {
|
||||||
PenaltyFix.processPenaltiesFix(this);
|
// PenaltyFix.processPenaltiesFix(this);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
// We're about to (test-)process a batch of transactions,
|
// We're about to (test-)process a batch of transactions,
|
||||||
@ -1854,10 +1854,10 @@ public class Block {
|
|||||||
SelfSponsorshipAlgoV1Block.orphanAccountPenalties(this);
|
SelfSponsorshipAlgoV1Block.orphanAccountPenalties(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.blockData.getHeight() == BlockChain.getInstance().getPenaltyFixHeight()) {
|
// Disabled because is fixed
|
||||||
// Revert fix for penalties
|
//if (this.blockData.getHeight() == BlockChain.getInstance().getPenaltyFixHeight()) {
|
||||||
PenaltyFix.orphanPenaltiesFix(this);
|
// PenaltyFix.orphanPenaltiesFix(this);
|
||||||
}
|
//}
|
||||||
|
|
||||||
// Account levels and block rewards are only processed/orphaned on block reward distribution blocks
|
// Account levels and block rewards are only processed/orphaned on block reward distribution blocks
|
||||||
if (this.isRewardDistributionBlock()) {
|
if (this.isRewardDistributionBlock()) {
|
||||||
@ -2556,4 +2556,4 @@ public class Block {
|
|||||||
LOGGER.info(() -> String.format("Unable to log block debugging info: %s", e.getMessage()));
|
LOGGER.info(() -> String.format("Unable to log block debugging info: %s", e.getMessage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user