Fix port logging in bootnode (#13457)

This commit is contained in:
Preston Van Loon 2024-01-14 22:38:22 -06:00 committed by GitHub
parent 1ff5a43385
commit b585ff77f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,7 @@ func (h *handler) httpHandler(w http.ResponseWriter, _ *http.Request) {
write(w, []byte("Node ID: "+n.ID().String()+"\n"))
write(w, []byte("IP: "+n.IP().String()+"\n"))
write(w, []byte(fmt.Sprintf("UDP Port: %d", n.UDP())+"\n"))
write(w, []byte(fmt.Sprintf("TCP Port: %d", n.UDP())+"\n\n"))
write(w, []byte(fmt.Sprintf("TCP Port: %d", n.TCP())+"\n\n"))
}
}