mirror of https://github.com/status-im/op-geth.git
9ec32a9e7b
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. |
||
---|---|---|
.. | ||
decode.go | ||
decode_tail_test.go | ||
decode_test.go | ||
doc.go | ||
encode.go | ||
encode_test.go | ||
encoder_example_test.go | ||
iterator.go | ||
iterator_test.go | ||
raw.go | ||
raw_test.go | ||
typecache.go |