Skip to content

Commit

Permalink
better print text
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Apr 22, 2024
1 parent 3e2320c commit dba0687
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/tools/print/tools_print.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,13 @@ func PrintBStreamBlock(b *pbbstream.Block, printTransactions bool, out io.Writer
_, err := out.Write(
[]byte(
fmt.Sprintf(
"Block #%d (%s)\n",
"Block #%d (%s)\n - Parent: #%d (%s)\n - LIB: #%d\n - Time: %s\n",
b.Number,
b.Id,
b.ParentNum,
b.ParentId,
b.LibNum,
b.Timestamp.AsTime(),
),
),
)
Expand Down

0 comments on commit dba0687

Please sign in to comment.