From 94ff73af34651705cb0590ceed63c6b6ea4a8320 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 11 Nov 2022 13:36:56 +0100 Subject: [PATCH] remove unused `SyncQueue.getFullMap` function (#4319) The `getFullMap` function is unused and can be removed (verified with `{.deprecated.}`). --- beacon_chain/sync/sync_queue.nim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/beacon_chain/sync/sync_queue.nim b/beacon_chain/sync/sync_queue.nim index cde63988e..83ce51a1b 100644 --- a/beacon_chain/sync/sync_queue.nim +++ b/beacon_chain/sync/sync_queue.nim @@ -148,11 +148,6 @@ proc checkResponse*[T](req: SyncRequest[T], else: return false -proc getFullMap*[T](req: SyncRequest[T], - data: openArray[ForkedSignedBeaconBlock]): string = - # Returns all slot numbers in ``data`` as comma-delimeted string. - mapIt(data, $it.message.slot).join(", ") - proc init[T](t1: typedesc[SyncRequest], kind: SyncQueueKind, start: Slot, finish: Slot, t2: typedesc[T]): SyncRequest[T] = let count = finish - start + 1'u64