This should be call only once where we read the stream of bytes and not repeated everywhere where we parse the payload. https://github.com/cyber-coop/eth-prototype/blob/d1634808235b402ae3e23ffbda229b34dd02df03/src/protocols/eth.rs#L46-L47
This should be call only once where we read the stream of bytes and not repeated everywhere where we parse the payload.
eth-prototype/src/protocols/eth.rs
Lines 46 to 47 in d163480