diff --git a/libskale/StorageDestructionPatch.cpp b/libskale/StorageDestructionPatch.cpp index 95ba9abe9..5ae6b03c7 100644 --- a/libskale/StorageDestructionPatch.cpp +++ b/libskale/StorageDestructionPatch.cpp @@ -4,5 +4,8 @@ time_t StorageDestructionPatch::storageDestructionPatchTimestamp; time_t StorageDestructionPatch::lastBlockTimestamp; bool StorageDestructionPatch::isEnabled() { + if ( storageDestructionPatchTimestamp == 0 ) { + return false; + } return storageDestructionPatchTimestamp <= lastBlockTimestamp; -} \ No newline at end of file +}