Skip to content

Commit

Permalink
fix index of getLatestBlockHeight query log
Browse files Browse the repository at this point in the history
  • Loading branch information
chessai committed Nov 16, 2023
1 parent ae02900 commit bf274a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chainweb/Pact/Backend/Compaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ ensureBlockHeightExists bh = do
getLatestBlockHeight :: CompactM BlockHeight
getLatestBlockHeight = do
r <- qryNoTemplateM
"getLatestBlockHeight.1"
"getLatestBlockHeight.0"
"SELECT blockheight FROM BlockHistory ORDER BY blockheight DESC LIMIT 1"
[]
[RInt]
Expand Down

0 comments on commit bf274a4

Please sign in to comment.