Skip to content

Commit

Permalink
consortium/v2/api: lowercase the first character in returned json fie…
Browse files Browse the repository at this point in the history
…lds (#331)
  • Loading branch information
minh-bq committed Sep 7, 2023
1 parent aed8078 commit 0925000
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 0925000

Please sign in to comment.