forked from mirror/go-ethereum
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.revert-23120-drop-eth-65
parent
52e5c38aa5
commit
9ec32a9e7b
Loading…
Reference in new issue