go/neo/neonet: Adjust pktAlloc to always allocate pktBuf with cap >= PktHeaderSize
With upcoming msgpack encoding packets might be with data < PktHeaderSize. Adjust pktAlloc to unconditionally provide the invariant.
Showing
Please register or sign in to comment