good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 9ec32a9e authored by Or Neeman's avatar Or Neeman Committed by GitHub
Browse files

rlp: handle case of normal EOF in Stream.readFull (#22336)

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.
parent 52e5c38a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment