Remove //TODOs which are already resolved.
This commit is contained in:
parent
29268467f9
commit
5af2f595ac
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user