Skip to content

Commit

Permalink
Merge pull request #55 from 0xTylerHolmes/master
Browse files Browse the repository at this point in the history
Correct domain type for exits
  • Loading branch information
mcdee authored Jan 25, 2023
2 parents 4e2fa63 + f9cb105 commit c46e974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/validator/exit/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func (c *command) generateDomain(ctx context.Context) error {
return errors.Wrap(err, "failed to calculate signature domain")
}

copy(c.domain[:], c.chainInfo.BLSToExecutionChangeDomainType[:])
copy(c.domain[:], c.chainInfo.VoluntaryExitDomainType[:])
copy(c.domain[4:], root[:])
if c.debug {
fmt.Fprintf(os.Stderr, "Domain is %#x\n", c.domain)
Expand Down

0 comments on commit c46e974

Please sign in to comment.