From c29811435236af47be60999f524a2af189812f26 Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Wed, 7 Feb 2024 14:36:00 +0100 Subject: [PATCH] chore: removed unused method Signed-off-by: Riccardo Montagnin --- x/posts/types/models.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/x/posts/types/models.go b/x/posts/types/models.go index 8736180170..520932fd95 100644 --- a/x/posts/types/models.go +++ b/x/posts/types/models.go @@ -791,14 +791,6 @@ func (a *Poll_ProvidedAnswer) UnpackInterfaces(unpacker codectypes.AnyUnpacker) // -------------------------------------------------------------------------------------------------------------------- -func MapAnswersIndexesToStrings(answersIndexes []uint32) []string { - answers := make([]string, len(answersIndexes)) - for i, answer := range answersIndexes { - answers[i] = strconv.FormatUint(uint64(answer), 10) - } - return answers -} - // NewUserAnswer returns a new UserAnswer instance func NewUserAnswer(subspaceID uint64, postID uint64, pollID uint32, answersIndexes []uint32, user string) UserAnswer { return UserAnswer{