Skip to content

Commit

Permalink
fix SQL syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <[email protected]>
  • Loading branch information
andrewwhitehead committed Sep 10, 2019
1 parent 30dbdc6 commit 495cce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/anchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ async def reset(self):
LOGGER.info("Resetting ledger cache")
await self.perform(
"""
TRUNCATE latest;
TRUNCATE transactions
DELETE FROM latest;
DELETE FROM transactions
""",
script=True,
)
Expand Down

0 comments on commit 495cce0

Please sign in to comment.