mirror of
https://github.com/status-im/nim-eth.git
synced 2025-01-11 23:04:31 +00:00
45387ad4d2
This changes the `discv5` parser to reject malformed WHOAREYOU packets that have a non-0 message length. The extra data used to be ignored. The `message` part of WHOAREYOU packets is always empty. See https://github.com/ethereum/devp2p/blob/master/discv5/discv5-wire.md