diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs index 17e0bd77..b2dc1591 100644 --- a/src/api/signature/streaming.rs +++ b/src/api/signature/streaming.rs @@ -233,10 +233,6 @@ where return Poll::Ready(Some(Err(SignedPayloadStreamError::Stream(e)))) } None => { - if this.buf.is_empty() { - return Poll::Ready(None); - } - return Poll::Ready(Some(Err(SignedPayloadStreamError::message( "Unexpected EOF", ))));