Skip to content

Commit

Permalink
fix: correctly set KYVE protocol validator vote
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Oct 20, 2022
1 parent 0f8fd03 commit 5043901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/keeper/tally.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (keeper Keeper) Tally(ctx sdk.Context, proposal v1.Proposal) (passes bool,
// Check if the voter is a KYVE Protocol validator.
if val, ok := currValidators[voter.String()]; ok {
val.Vote = vote.Options
currValidators[valAddrStr] = val
currValidators[voter.String()] = val
}

// iterate over all delegations from voter, deduct from any delegated-to validators
Expand Down

0 comments on commit 5043901

Please sign in to comment.