Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 25, 2023
1 parent 7b21f7e commit c75b568
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testutil/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,15 +640,15 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
if err := startInProcess(cfg, v); err != nil {
return nil, err
}
l.Log("started validator", "validator", idx)
l.Log("started validator", idx)
}

height, err := network.LatestHeight()
if err != nil {
return nil, err
}

l.Log(fmt.Sprintf("started test network at height: %d", height))
l.Log("started test network at height:", height)

// Ensure we cleanup incase any test was abruptly halted (e.g. SIGINT) as any
// defer in a test would not be called.
Expand Down Expand Up @@ -872,7 +872,7 @@ func printMnemonic(l Logger, secret string) {
l.Log("\n")
l.Log(strings.Repeat("+", maxLineLength+8))
for _, line := range lines {
l.Log(fmt.Sprintf("++ %s ++\n", centerText(line, maxLineLength)))
l.Logf("++ %s ++\n", centerText(line, maxLineLength))
}
l.Log(strings.Repeat("+", maxLineLength+8))
l.Log("\n")
Expand Down

0 comments on commit c75b568

Please sign in to comment.