Skip to content

Commit

Permalink
Fixed accounting for seqno twice on signature disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
Skydev0h committed Feb 12, 2024
1 parent 34a8556 commit c724855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/wallet_v5.fc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ cell verify_actions(cell c5) inline {
} else {
;; disallow
if (stored_seqno >= 0) {
ds = ds.skip_bits(size::stored_seqno + size::stored_subwallet + size::public_key);
ds = ds.skip_bits(size::stored_subwallet + size::public_key);
var extensions_is_not_null = ds.preload_uint(1);
throw_unless(42, extensions_is_not_null);
;; Corner case: 0 -> 1 -> -1
Expand Down

0 comments on commit c724855

Please sign in to comment.