forked from Qortal/qortal
Ensure frozen ATs are still executed every block.
We currently want to execute frozen ATs, to maintain backwards support. We could optionally choose to stop executing them later, via a hard fork.
This commit is contained in:
parent
ec008b4a16
commit
a253294890
@ -131,8 +131,10 @@ public class AT {
|
|||||||
|
|
||||||
// Nothing happened?
|
// Nothing happened?
|
||||||
if (state.getSteps() == 0 && Arrays.equals(stateHash, latestAtStateData.getStateHash()))
|
if (state.getSteps() == 0 && Arrays.equals(stateHash, latestAtStateData.getStateHash()))
|
||||||
// this.atStateData will be null
|
// We currently want to execute frozen ATs, to maintain backwards support.
|
||||||
return Collections.emptyList();
|
if (state.isFrozen() == false)
|
||||||
|
// this.atStateData will be null
|
||||||
|
return Collections.emptyList();
|
||||||
|
|
||||||
long atFees = api.calcFinalFees(state);
|
long atFees = api.calcFinalFees(state);
|
||||||
Long sleepUntilMessageTimestamp = this.atData.getSleepUntilMessageTimestamp();
|
Long sleepUntilMessageTimestamp = this.atData.getSleepUntilMessageTimestamp();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user