Skip to content

Commit f3b7cc4

Browse files
authored
fix bug (#2059)
1 parent d7612ef commit f3b7cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target_chains/ton/contracts/contracts/Wormhole.fc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int governance_action_is_consumed(int hash) method_id {
133133
(int expiration_time, cell keys_dict, int key_count) = get_guardian_set_internal(vm_guardian_set_index);
134134
throw_if(ERROR_INVALID_GUARDIAN_SET_KEYS_LENGTH, cell_null?(keys_dict));
135135
throw_unless(ERROR_INVALID_GUARDIAN_SET,
136-
(current_guardian_set_index == vm_guardian_set_index) &
136+
(current_guardian_set_index >= vm_guardian_set_index) &
137137
((expiration_time == 0) | (expiration_time > now()))
138138
);
139139
int signers_length = in_msg_body~load_uint(8);

0 commit comments

Comments
 (0)