Skip to content

Commit

Permalink
Update warden/x/act/keeper/msg_server_vote_for_action.go
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Pitasi <antonio@pitasi.dev>
  • Loading branch information
artur-abliazimov and Pitasi authored Sep 9, 2024
1 parent 716a3c0 commit bccb869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions warden/x/act/keeper/msg_server_vote_for_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ func (k msgServer) VoteForAction(goCtx context.Context, msg *types.MsgVoteForAct
if err := k.TryRejectVotedAction(ctx, &act); err != nil {
return nil, err
}
} else {
return nil, fmt.Errorf("unhandled VoteType value: %v", msg.VoteType)

Check failure on line 48 in warden/x/act/keeper/msg_server_vote_for_action.go

View workflow job for this annotation

GitHub Actions / test

undefined: fmt

Check failure on line 48 in warden/x/act/keeper/msg_server_vote_for_action.go

View workflow job for this annotation

GitHub Actions / lint

undefined: fmt (typecheck)

Check failure on line 48 in warden/x/act/keeper/msg_server_vote_for_action.go

View workflow job for this annotation

GitHub Actions / lint

undefined: fmt) (typecheck)

Check failure on line 48 in warden/x/act/keeper/msg_server_vote_for_action.go

View workflow job for this annotation

GitHub Actions / lint

undefined: fmt) (typecheck)

Check failure on line 48 in warden/x/act/keeper/msg_server_vote_for_action.go

View workflow job for this annotation

GitHub Actions / lint

undefined: fmt) (typecheck)
}

return &types.MsgVoteForActionResponse{Status: act.Status.String()}, nil
Expand Down

0 comments on commit bccb869

Please sign in to comment.