Skip to content

Commit

Permalink
fix bug (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
cctdaniel authored Oct 24, 2024
1 parent d7612ef commit f3b7cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_chains/ton/contracts/contracts/Wormhole.fc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int governance_action_is_consumed(int hash) method_id {
(int expiration_time, cell keys_dict, int key_count) = get_guardian_set_internal(vm_guardian_set_index);
throw_if(ERROR_INVALID_GUARDIAN_SET_KEYS_LENGTH, cell_null?(keys_dict));
throw_unless(ERROR_INVALID_GUARDIAN_SET,
(current_guardian_set_index == vm_guardian_set_index) &
(current_guardian_set_index >= vm_guardian_set_index) &
((expiration_time == 0) | (expiration_time > now()))
);
int signers_length = in_msg_body~load_uint(8);
Expand Down

0 comments on commit f3b7cc4

Please sign in to comment.