Skip to content

Commit

Permalink
read batch from DS
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Jun 19, 2024
1 parent 4f78620 commit c821ca3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/datastreamer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func decodeBatchL2Data(cliCtx *cli.Context) error {
}

// This becomes a timeout for the process
time.Sleep(30 * time.Second) // nolint:gomnd
time.Sleep(20 * time.Second) // nolint:gomnd

return nil
}
Expand Down Expand Up @@ -816,7 +816,8 @@ func (h *handler) handleReceivedDataStream(entry *datastreamer.FileEntry, client
}

// Log batchL2Data as hex string
log.Infof("Batch L2 Data: %s", common.Bytes2Hex(batchl2Data))
printColored(color.FgGreen, "BatchL2Data.....: ")
printColored(color.FgHiWhite, fmt.Sprintf("%s\n", common.Bytes2Hex(batchl2Data))
}

// Finish the process
Expand Down

0 comments on commit c821ca3

Please sign in to comment.