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