From 02b9f89b8f0048c7a78c93b7c5edad27f1d8adbc Mon Sep 17 00:00:00 2001 From: cheatfate Date: Sat, 30 Nov 2024 15:42:56 +0200 Subject: [PATCH] Fix blobs shortmap generation. --- beacon_chain/sync/sync_queue.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/sync/sync_queue.nim b/beacon_chain/sync/sync_queue.nim index dbd9c096c..1488aabb2 100644 --- a/beacon_chain/sync/sync_queue.nim +++ b/beacon_chain/sync/sync_queue.nim @@ -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],