From 716a3c027417982b91e6cd5789d9f66611e8145b Mon Sep 17 00:00:00 2001 From: Archie Date: Mon, 9 Sep 2024 15:46:59 +0300 Subject: [PATCH] Update warden/x/act/types/v1beta1/action.go Co-authored-by: Antonio Pitasi --- warden/x/act/types/v1beta1/action.go | 1 + 1 file changed, 1 insertion(+) diff --git a/warden/x/act/types/v1beta1/action.go b/warden/x/act/types/v1beta1/action.go index afe0600b6..09d3f2f8b 100644 --- a/warden/x/act/types/v1beta1/action.go +++ b/warden/x/act/types/v1beta1/action.go @@ -82,6 +82,7 @@ func (a *Action) AddOrUpdateVote(ctx sdk.Context, participant string, voteType A for i, v := range a.Votes { if v.Participant == participant { a.Votes[i].VoteType = voteType + a.Votes[i].VotedAt = ctx.BlockTime() updated = true break }