Skip to content

Commit

Permalink
magellan / ambiguous typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evlekht committed Sep 8, 2023
1 parent 408753f commit 52c020c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vms/platformvm/camino_vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ func TestProposals(t *testing.T) {
{option: 1, success: true},
},
},
"Early fail: 2|2|1 votes, not reaching mostVoted threshold and being unambiguous": {
"Early fail: 2|2|1 votes, not reaching mostVoted threshold and being ambiguous": {
feeOptions: []uint64{1, 2, 3},
earlyFinish: true,
votes: []vote{
Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/dac/camino_change_base_fee_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (p *BaseFeeProposalState) IsSuccessful() bool {

func (p *BaseFeeProposalState) Outcome() any {
_, mostVotedOptionIndex, unambiguous := p.GetMostVoted()
if unambiguous {
if !unambiguous {
return -1
}
return mostVotedOptionIndex
Expand Down

0 comments on commit 52c020c

Please sign in to comment.