remove unused `SyncQueue.getFullMap` function (#4319)

The `getFullMap` function is unused and can be removed (verified with
`{.deprecated.}`).
This commit is contained in:
Etan Kissling 2022-11-11 13:36:56 +01:00 committed by GitHub
parent 2eb56f6e1b
commit 94ff73af34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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