diff --git a/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java b/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java index 8bc91be8..93518336 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/TcpTransport.java @@ -195,7 +195,9 @@ public class TcpTransport implements CloseableTransport, TimeoutCounter { } } } catch(IOException e) { - log.error("Error opening socket inputstream", e); + if(!closed) { + log.error("Error opening socket inputstream", e); + } if(running) { lastException = e; reading = false;