Skip to content

Commit

Permalink
Merge pull request #1555 from skalenetwork/develop
Browse files Browse the repository at this point in the history
Develop to beta
  • Loading branch information
DmytroNazarenko authored Jun 21, 2023
2 parents a2440e1 + a621bea commit 17433a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libskale/StorageDestructionPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ time_t StorageDestructionPatch::storageDestructionPatchTimestamp;
time_t StorageDestructionPatch::lastBlockTimestamp;

bool StorageDestructionPatch::isEnabled() {
if ( storageDestructionPatchTimestamp == 0 ) {
return false;
}
return storageDestructionPatchTimestamp <= lastBlockTimestamp;
}
}

0 comments on commit 17433a8

Please sign in to comment.