From 5af2f595ac07c287a42bf5349d9a8e6db8683c60 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Mon, 15 Jun 2020 10:40:18 +0100 Subject: [PATCH] Remove //TODOs which are already resolved. --- webapi/setvotechoices.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/webapi/setvotechoices.go b/webapi/setvotechoices.go index a51f08a..291604f 100644 --- a/webapi/setvotechoices.go +++ b/webapi/setvotechoices.go @@ -61,8 +61,6 @@ func setVoteChoices(c *gin.Context) { for agenda, choice := range voteChoices { for _, walletClient := range walletClients { err = walletClient.SetVoteChoice(agenda, choice, ticket.Hash) - // TODO: This will error if the wallet does not know about the ticket yet. - // TODO: We shouldn't return on first error - we want to try all wallets. if err != nil { // If this fails, we still want to try the other wallets, so // don't return an error response, just log an error.