Commit 5d5442c 1 parent af2424f commit 5d5442c Copy full SHA for 5d5442c
File tree 2 files changed +4
-4
lines changed
politeiad/plugins/ticketvote
politeiawww/api/ticketvote/v1
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ type CastVoteDetails struct {
351
351
// Data generated by client
352
352
Token string `json:"token"` // Record token
353
353
Ticket string `json:"ticket"` // Ticket hash
354
- VoteBit string `json:"votebits"` // Vote bit, hex encoded
354
+ VoteBit string `json:"votebit"` // Vote bit, hex encoded
355
355
Signature string `json:"signature"` // Client signature
356
356
357
357
// Metdata generated by server
@@ -486,7 +486,7 @@ var (
486
486
type CastVote struct {
487
487
Token string `json:"token"` // Record token
488
488
Ticket string `json:"ticket"` // Ticket ID
489
- VoteBit string `json:"votebits"` // Selected vote bit, hex encoded
489
+ VoteBit string `json:"votebit"` // Selected vote bit, hex encoded
490
490
Signature string `json:"signature"` // Signature of Token+Ticket+VoteBit
491
491
}
492
492
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ const (
382
382
type CastVote struct {
383
383
Token string `json:"token"` // Record token
384
384
Ticket string `json:"ticket"` // Ticket ID
385
- VoteBit string `json:"votebits"` // Selected vote bit, hex encoded
385
+ VoteBit string `json:"votebit"` // Selected vote bit, hex encoded
386
386
Signature string `json:"signature"` // Signature of Token+Ticket+VoteBit
387
387
}
388
388
@@ -458,7 +458,7 @@ type DetailsReply struct {
458
458
type CastVoteDetails struct {
459
459
Token string `json:"token"` // Record token
460
460
Ticket string `json:"ticket"` // Ticket hash
461
- VoteBit string `json:"votebits"` // Selected vote bit, hex encoded
461
+ VoteBit string `json:"votebit"` // Selected vote bit, hex encoded
462
462
Address string `json:"address"` // Address used in client signature
463
463
Signature string `json:"signature"` // Client signature
464
464
Receipt string `json:"receipt"` // Server sig of client sig
You can’t perform that action at this time.
0 commit comments