Skip to content

Commit

Permalink
omit zero values
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranmcveigh5 committed Jul 28, 2022
1 parent 137d18c commit 668d139
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions testutil/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,8 @@ func RandomValidatorRegistration(t *testing.T) *eth2v1.ValidatorRegistration {
t.Helper()

return &eth2v1.ValidatorRegistration{
FeeRecipient: bellatrix.ExecutionAddress{},
GasLimit: rand.Uint64(),
Timestamp: time.Time{},
Pubkey: RandomEth2PubKey(t),
GasLimit: rand.Uint64(),
Pubkey: RandomEth2PubKey(t),
}
}

Expand Down

0 comments on commit 668d139

Please sign in to comment.