mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
cmd/devp2p/internal/ethtest: remove copied assignment of hash
This commit is contained in:
parent
a772095a77
commit
3f0af1daab
1 changed files with 0 additions and 2 deletions
|
|
@ -585,8 +585,6 @@ The node should accept the update and should not disonnect.`)
|
|||
defer conn.Close()
|
||||
|
||||
head := s.chain.Head()
|
||||
var hash common.Hash
|
||||
rand.Read(hash[:])
|
||||
conn.Write(ethProto, eth.BlockRangeUpdateMsg, ð.BlockRangeUpdatePacket{
|
||||
EarliestBlock: head.NumberU64() - 10,
|
||||
LatestBlock: head.NumberU64(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue