mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-13 15:26:32 +00:00
io.Reader may return n > 0 and io.EOF at the end of the input stream. readFull did not handle this correctly, looking only at the error. This fixes it to check for n == len(buf) as well.