Remove //TODOs which are already resolved.

This commit is contained in:
jholdstock 2020-06-15 10:40:18 +01:00 committed by David Hill
parent 29268467f9
commit 5af2f595ac

View File

@ -61,8 +61,6 @@ func setVoteChoices(c *gin.Context) {
for agenda, choice := range voteChoices { for agenda, choice := range voteChoices {
for _, walletClient := range walletClients { for _, walletClient := range walletClients {
err = walletClient.SetVoteChoice(agenda, choice, ticket.Hash) 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 err != nil {
// If this fails, we still want to try the other wallets, so // If this fails, we still want to try the other wallets, so
// don't return an error response, just log an error. // don't return an error response, just log an error.