Skip to content

Commit

Permalink
Removed throwif from the comment about seqno
Browse files Browse the repository at this point in the history
  • Loading branch information
Skydev0h committed Jan 24, 2024
1 parent 0c9fa87 commit 74cc7f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/wallet_v5.fc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ cell verify_actions(cell c5) inline {
;; If public key is disabled, stored_seqno is strictly less than zero: stored_seqno < 0
;; However, msg_seqno is uint, therefore it can be only greater or equal to zero: msg_seqno >= 0
;; Thus, if public key is disabled, these two domains NEVER intersect, and additional check is not needed
;; throw_if(33, stored_seqno < 0);
throw_unless(33, msg_seqno == stored_seqno);
throw_unless(34, subwallet_id == stored_subwallet);
throw_if(36, valid_until <= now());
Expand Down

0 comments on commit 74cc7f6

Please sign in to comment.