Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consortium/v2/api: lowercase the first character in returned json fields #331

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions consensus/consortium/v2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ func (api *consortiumV2Api) GetValidatorAtHash(hash common.Hash) ([]finality.Val
}

type finalityVote struct {
Signature string
VoterPublicKey []string
VoterAddress []string
Signature string `json:"signature"`
VoterPublicKey []string `json:"voterPublicKey"`
VoterAddress []string `json:"voterAddress"`
}

// GetFinalityVoteAtHash returns the finality vote at block hash
Expand Down