Skip to content

Commit

Permalink
do simple yarn. shuts down container in case of err
Browse files Browse the repository at this point in the history
  • Loading branch information
crypticmeta committed Sep 1, 2024
1 parent 7f9f3d5 commit b4fb3c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indexer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,8 @@ async function check_db(): Promise<void> {
// }
if (current_height < current_content_height) {
console.error("current_height < current_content_height");
await Inscription.deleteMany({ block_height: { $gt: current_height } });
console.log("These docs need to be deleted. ", {current_height})
// await Inscription.deleteMany({ block_height: { $gt: current_height } });
}
}

Expand Down

0 comments on commit b4fb3c8

Please sign in to comment.