Skip to content

Commit

Permalink
fix(blockdata): chainid-permanence
Browse files Browse the repository at this point in the history
  • Loading branch information
amkCha committed Dec 17, 2024
1 parent 7d36e96 commit e71bce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockdata/constraints.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@

(defconstraint chainid-permanence (:guard (chainid-precondition))
(if-not-zero IS_CURR
(eq! DATA_HI (shift DATA_HI (- CT_MAX_DEPTH)))
(eq! DATA_LO (shift DATA_LO (- CT_MAX_DEPTH)))))
(begin (eq! DATA_HI (shift DATA_HI (- CT_MAX_DEPTH)))
(eq! DATA_LO (shift DATA_LO (- CT_MAX_DEPTH))))))

(defconstraint chainid-bound (:guard (chainid-precondition))
(wcp-call-to-GEQ 0 DATA_HI DATA_LO 0 0))
Expand Down

0 comments on commit e71bce5

Please sign in to comment.