mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
fix bug (#4650)
This commit is contained in:
committed by
terence tsao
parent
dd5a3fe80d
commit
417480ffa8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user