Skip to content

Commit

Permalink
Beacon API: validator registration encoding bug (prysmaticlabs#11299)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prysm authored and michaelneuder committed Aug 25, 2022
1 parent 5683dff commit 86dc237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon-chain/rpc/apimiddleware/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ type validatorRegistrationJson struct {
}

type signedValidatorRegistrationJson struct {
Message validatorRegistrationJson `json:"message"`
Signature string `json:"signature" hex:"true"`
Message *validatorRegistrationJson `json:"message"`
Signature string `json:"signature" hex:"true"`
}

type signedValidatorRegistrationsRequestJson struct {
Expand Down

0 comments on commit 86dc237

Please sign in to comment.