Skip to content

Commit

Permalink
(NOBIDS) fix post-deneb forkversion (#2873)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush authored May 2, 2024
1 parent 4a9ca17 commit b021019
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions db/node_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,11 @@ func CreateVoluntaryExitNodeJob(nj *types.NodeJob) (*types.NodeJob, error) {
default:
}

forkVersion := utils.ForkVersionAtEpoch(uint64(njd.Message.Epoch))
err = utils.VerifyVoluntaryExitSignature(njd, forkVersion.CurrentVersion, vali.Pubkey)
forkVersion := utils.MustParseHex(utils.Config.Chain.ClConfig.CappellaForkVersion)
err = utils.VerifyVoluntaryExitSignature(njd, forkVersion, vali.Pubkey)
if err != nil {
return nil, err
}

_, err = WriterDb.Exec(`insert into node_jobs (id, type, status, data, created_time) values ($1, $2, $3, $4, now())`, nj.ID, nj.Type, nj.Status, nj.RawData)
if err != nil {
return nil, err
Expand Down

0 comments on commit b021019

Please sign in to comment.