aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/serialize.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 4a9ff579f4..1341746592 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);