Skip to content

Commit

Permalink
Print out the witness keys in a better way (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson authored Feb 29, 2024
1 parent 99019c5 commit ca967d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,12 @@ func getWitnessesOrDie() map[string]note.Verifier {
glog.Exitf("Failed to unmarshal witness config: %v", err)
}

glog.Infof("Configured with %d witness keys: %s", len(w), w)
glog.Infof("Configured with %d witness keys", len(w))
if glog.V(1) {
for k, _ := range w {
glog.V(1).Infof(" %s", k)
}
}
return w
}

Expand Down

0 comments on commit ca967d9

Please sign in to comment.