From 4170ded63166b84d27eb7c6db9da8f137d8ff1ea Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 16 Dec 2024 14:51:21 +0100 Subject: [PATCH] removes heartbeat log --- codex/node.nim | 7 ------- 1 file changed, 7 deletions(-) diff --git a/codex/node.nim b/codex/node.nim index 68f759a89..a43c9270a 100644 --- a/codex/node.nim +++ b/codex/node.nim @@ -745,13 +745,6 @@ proc start*(self: CodexNodeRef) {.async.} = error "Unable to start validator contract interactions: ", error=error.msg self.contracts.validator = ValidatorInteractions.none - proc heartbeat() {.async.} = - while true: - await sleepAsync(1000.millis) - warn "a" - - asyncSpawn heartbeat() - self.networkId = self.switch.peerInfo.peerId notice "Started codex node", id = self.networkId, addrs = self.switch.peerInfo.addrs