Skip to content

Commit

Permalink
fix: mix up between account address / code address
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBBB committed Dec 14, 2024
1 parent 63968a3 commit 732a2b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hub/constraints/instruction-handling/acc.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@
(DOM-SUB-stamps---standard ROFF_ACC___ACCOUNT_READING_ROW 0)
(if-not-zero (account-instruction---is-CODESIZE)
(begin
(eq! (shift account/ADDRESS_HI ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---account-address-hi))
(eq! (shift account/ADDRESS_LO ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---account-address-lo))))
(eq! (shift account/ADDRESS_HI ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---byte-code-address-hi))
(eq! (shift account/ADDRESS_LO ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---byte-code-address-lo))))
(if-not-zero (account-instruction---is-SELFBALANCE)
(begin
(eq! (shift account/ADDRESS_HI ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---byte-code-address-hi))
(eq! (shift account/ADDRESS_LO ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---byte-code-address-lo)))
(eq! (shift account/ADDRESS_HI ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---account-address-hi))
(eq! (shift account/ADDRESS_LO ROFF_ACC___ACCOUNT_READING_ROW) (account-instruction---account-address-lo)))
))))))


Expand Down

0 comments on commit 732a2b3

Please sign in to comment.