diff --git a/src/serialize.h b/src/serialize.h index 4a9ff579f4e..1341746592b 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -1038,10 +1038,7 @@ public: if (nReadPosNext >= vch.size()) { if (nReadPosNext > vch.size()) - { setstate(std::ios::failbit, "CDataStream::ignore() : end of data"); - nSize = vch.size() - nReadPos; - } nReadPos = 0; vch.clear(); return (*this);