Skip to content

Commit

Permalink
fix missing space in block_sim output (#6134)
Browse files Browse the repository at this point in the history
In #5906, the `strformat` use was replaced with simply passing the parts
of the string as `varargs` to `echo`. A space got lost from output as
part of the transformation. Re-add it.
  • Loading branch information
etan-status committed Mar 25, 2024
1 parent 2dbe24c commit 9ad8ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion research/block_sim.nim
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ cli do(slots = SLOTS_PER_EPOCH * 7,
verifyConsensus(dag.headState, attesterRatio * blockRatio)

if t == tEpoch:
echo ". slot: ", shortLog(slot), "epoch: ", shortLog(slot.epoch)
echo ". slot: ", shortLog(slot), " epoch: ", shortLog(slot.epoch)
else:
try:
write(stdout, ".")
Expand Down

0 comments on commit 9ad8ea0

Please sign in to comment.