Skip to content

Commit

Permalink
Merge branch 'aleks/fix-client-can-be-voted-check' (#1887)
Browse files Browse the repository at this point in the history
* origin/aleks/fix-client-can-be-voted-check:
  Add changelog
  fix: correct lower bound in client proposal vote check
  • Loading branch information
Fraccaman committed Sep 25, 2023
2 parents 2fe78ab + 83bbca1 commit f9d3206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix lower bound in client proposal vote check
([\#1887](https://github.com/anoma/namada/pull/1887))
2 changes: 1 addition & 1 deletion core/src/ledger/governance/storage/proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl StorageProposal {
is_validator: bool,
) -> bool {
if is_validator {
self.voting_start_epoch < self.voting_end_epoch
self.voting_start_epoch <= current_epoch
&& current_epoch * 3
<= self.voting_start_epoch + self.voting_end_epoch * 2
} else {
Expand Down

0 comments on commit f9d3206

Please sign in to comment.