Fix blobs shortmap generation.
This commit is contained in:
parent
f5ed6004ff
commit
02b9f89b8f
|
@ -190,15 +190,15 @@ proc getShortMap*[T](
|
||||||
if len(blobs[last]) > 0:
|
if len(blobs[last]) > 0:
|
||||||
if blobs[last][0][].signed_block_header.message.slot == slider:
|
if blobs[last][0][].signed_block_header.message.slot == slider:
|
||||||
res.add(Base10.toString(lenu64(blobs[last])))
|
res.add(Base10.toString(lenu64(blobs[last])))
|
||||||
inc(last)
|
|
||||||
else:
|
else:
|
||||||
res.add('.')
|
res.add('.')
|
||||||
else:
|
else:
|
||||||
res.add('.')
|
res.add('.')
|
||||||
|
inc(last)
|
||||||
else:
|
else:
|
||||||
res.add('.')
|
res.add('.')
|
||||||
inc(slider)
|
inc(slider)
|
||||||
res & " (" & blobs.mapIt($len(it)).join(", ") & ")"
|
res
|
||||||
|
|
||||||
proc getShortMap*[T](
|
proc getShortMap*[T](
|
||||||
req: SyncRequest[T],
|
req: SyncRequest[T],
|
||||||
|
|
Loading…
Reference in New Issue