Fix blobs shortmap generation.

This commit is contained in:
cheatfate 2024-11-30 15:42:56 +02:00
parent f5ed6004ff
commit 02b9f89b8f
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95
1 changed files with 2 additions and 2 deletions

View File

@ -190,15 +190,15 @@ proc getShortMap*[T](
if len(blobs[last]) > 0:
if blobs[last][0][].signed_block_header.message.slot == slider:
res.add(Base10.toString(lenu64(blobs[last])))
inc(last)
else:
res.add('.')
else:
res.add('.')
inc(last)
else:
res.add('.')
inc(slider)
res & " (" & blobs.mapIt($len(it)).join(", ") & ")"
res
proc getShortMap*[T](
req: SyncRequest[T],