mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-20 08:41:11 +00:00
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.