Skip to content

Commit

Permalink
Require a header to come after the jump boundary before requesting a …
Browse files Browse the repository at this point in the history
…jump
  • Loading branch information
facundominguez committed Apr 30, 2024
1 parent dcb6020 commit 0d7960e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ onRollForward context point =
Jumper{} -> pure ()
Dynamo _ lastJumpSlot
| let jumpBoundaryPlus1 = jumpSize context + succWithOrigin lastJumpSlot
, succWithOrigin (pointSlot point) >= jumpBoundaryPlus1 -> do
, succWithOrigin (pointSlot point) > jumpBoundaryPlus1 -> do
mJumpInfo <- readTVar (cschJumpInfo (handle context))
setJumps mJumpInfo
| otherwise -> pure ()
Expand Down

0 comments on commit 0d7960e

Please sign in to comment.