diff --git a/waku/v2/protocol/waku_noise/noise.nim b/waku/v2/protocol/waku_noise/noise.nim index b4bbe0788..03f98299f 100644 --- a/waku/v2/protocol/waku_noise/noise.nim +++ b/waku/v2/protocol/waku_noise/noise.nim @@ -266,7 +266,8 @@ proc print*(self: HandshakePattern) {.raises: [IOError, NoiseMalformedHandshake].}= try: if self.name != "": - echo self.name, ":" + stdout.write self.name, ":\n" + stdout.flushFile() #We iterate over pre message patterns, if any if self.preMessagePatterns != EmptyPreMessagePattern: for pattern in self.pre_messagePatterns: