mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
I don't understand why would we need & 0xFF here, please elaborate
This commit is contained in:
parent
22c5f97370
commit
14634daac5
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ func UnpackValidationData(validationData []byte) (authorizerMagic uint64, validU
|
|||
|
||||
t := new(big.Int).SetBytes(validationData)
|
||||
authorizerMagic = t.Uint64()
|
||||
validUntil = t.Rsh(t, 160).Uint64() & 0xffffff
|
||||
validUntil = t.Rsh(t, 160).Uint64() // & 0xffffff
|
||||
validAfter = t.Rsh(t, 48).Uint64()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue