From 47df4398689d9b20718c1676c64e9b90b135a824 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Fri, 13 Oct 2023 11:52:42 +0200 Subject: [PATCH] Remove unrelated diff --- packages/beacon-node/src/network/core/networkCore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/beacon-node/src/network/core/networkCore.ts b/packages/beacon-node/src/network/core/networkCore.ts index f0757c624bbb..34733739a996 100644 --- a/packages/beacon-node/src/network/core/networkCore.ts +++ b/packages/beacon-node/src/network/core/networkCore.ts @@ -253,6 +253,7 @@ export class NetworkCore implements INetworkCore { /** Destroy this instance. Can only be called once. */ async close(): Promise { if (this.closed) return; + this.clock.off(ClockEvent.epoch, this.onEpoch); // Must goodbye and disconnect before stopping libp2p