Adding support for a genesis DB.

This commit is contained in:
James Wells 2023-03-22 19:20:16 -07:00
parent d5fcd11592
commit 7a9225ce86
Signed by: jwells
GPG key ID: 73196D10B8E65666
7 changed files with 35 additions and 4 deletions

View file

@ -290,7 +290,7 @@ func init() {
if config.MonitorPort != 0 {
go func() {
log.Printf("[INFO] Starting Prometheus metrics exporter on port %d\n", config.MonitorPort)
log.Fatal(http.ListenAndServe(string(config.ListenAddr)+strconv.Itoa(config.MonitorPort), nil))
log.Fatal(http.ListenAndServe(string(config.ListenAddr)+":"+strconv.Itoa(config.MonitorPort), nil))
}()
}
}