Merge pull request #1 from LeoHChen/1171-replace-p2p

[bootnode] fix local/jenkins test after using zerolog
pull/1195/head
Kai Lee 5 years ago committed by GitHub
commit 2e29ca7331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/bootnode/main.go

@ -65,7 +65,7 @@ func main() {
panic(err) panic(err)
} }
log.Info("bootnode", "BN_MA", fmt.Sprintf("/ip4/%s/tcp/%s/p2p/%s", *ip, *port, host.GetID().Pretty())) fmt.Printf("bootnode BN_MA=%s", fmt.Sprintf("/ip4/%s/tcp/%s/p2p/%s", *ip, *port, host.GetID().Pretty()))
if *logConn { if *logConn {
host.GetP2PHost().Network().Notify(utils.NewConnLogger(utils.GetLogInstance())) host.GetP2PHost().Network().Notify(utils.NewConnLogger(utils.GetLogInstance()))

Loading…
Cancel
Save