Skip to content

Commit

Permalink
fix bug (#4650)
Browse files Browse the repository at this point in the history
  • Loading branch information
nisdas authored and terencechain committed Jan 25, 2020
1 parent dd5a3fe commit 417480f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/stateutil/validators.go
Expand Up @@ -129,7 +129,7 @@ func (h *stateRootHasher) validatorRoot(validator *ethpb.Validator) ([32]byte, e

withdrawalBuf := make([]byte, 8)
binary.LittleEndian.PutUint64(withdrawalBuf, validator.WithdrawableEpoch)
copy(enc[113:121], exitBuf)
copy(enc[113:121], withdrawalBuf)

// Check if it exists in cache:
if h.rootsCache != nil {
Expand Down

0 comments on commit 417480f

Please sign in to comment.