remove unused `SyncQueue.getFullMap` function (#4319)
The `getFullMap` function is unused and can be removed (verified with `{.deprecated.}`).
This commit is contained in:
parent
2eb56f6e1b
commit
94ff73af34
|
@ -148,11 +148,6 @@ proc checkResponse*[T](req: SyncRequest[T],
|
||||||
else:
|
else:
|
||||||
return false
|
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,
|
proc init[T](t1: typedesc[SyncRequest], kind: SyncQueueKind, start: Slot,
|
||||||
finish: Slot, t2: typedesc[T]): SyncRequest[T] =
|
finish: Slot, t2: typedesc[T]): SyncRequest[T] =
|
||||||
let count = finish - start + 1'u64
|
let count = finish - start + 1'u64
|
||||||
|
|
Loading…
Reference in New Issue