Skip to content

Commit

Permalink
fix, don't set perconfirmed:true during block confirmed event
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdcastro committed Jun 13, 2024
1 parent 2f01020 commit 4544c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ app.post("/events/preconfs/confirmed", async (req: Request, res: Response) => {
if (parsedEvent.included === null) {
parsedEvent.included = false;
}
parsedEvent.preconfirmed = true;
// parsedEvent.preconfirmed = true;
await redis.set(key, JSON.stringify(parsedEvent), "EX", EXPIRE_TIME);
}
}
Expand Down

0 comments on commit 4544c61

Please sign in to comment.