add isSome logging

This commit is contained in:
Agnish Ghosh 2024-10-23 05:04:01 +05:30
parent a9a0fef25e
commit 11b8adeb54
1 changed files with 4 additions and 3 deletions

View File

@ -688,9 +688,10 @@ proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A)
else: else:
Opt.none(seq[DataColumnSidecars]) Opt.none(seq[DataColumnSidecars])
debugEcho "Data column while syncing" if dataColumnData.isSome:
debugEcho dataColumnData.get[4].mapIt(it[]) debugEcho "Data column while syncing"
debugEcho dataColumnData.get[4].mapIt(it[])
if len(blockData) == 0 and man.direction == SyncQueueKind.Backward and if len(blockData) == 0 and man.direction == SyncQueueKind.Backward and
req.contains(man.getSafeSlot()): req.contains(man.getSafeSlot()):