Skip to content

Commit

Permalink
cmd: add valIdx to obolapi exit message in expert mode (#3146)
Browse files Browse the repository at this point in the history
Setting validx to be the configured index in the case of expert mode

category: bug
ticket: #3147
  • Loading branch information
LukeHackett12 committed Jun 20, 2024
1 parent 136723f commit 6f6777e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/exit_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ func runSignPartialExit(ctx context.Context, config exitConfig) error {
valAPICallOpts.Indices = []eth2p0.ValidatorIndex{
eth2p0.ValidatorIndex(config.ValidatorIndex),
}
valIndex = eth2p0.ValidatorIndex(config.ValidatorIndex)
} else {
valAPICallOpts.PubKeys = []eth2p0.BLSPubKey{
valEth2,
Expand Down

0 comments on commit 6f6777e

Please sign in to comment.