Fix grpc client connected... logging (#9956)

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
terence tsao 2021-12-01 06:45:39 -08:00 committed by GitHub
parent d94bf32dcf
commit 23bdce2354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ func (s *Service) logNewClientConnection(ctx context.Context) {
if !s.connectedRPCClients[clientInfo.Addr] { if !s.connectedRPCClients[clientInfo.Addr] {
log.WithFields(logrus.Fields{ log.WithFields(logrus.Fields{
"addr": clientInfo.Addr.String(), "addr": clientInfo.Addr.String(),
}).Infof("NewService gRPC client connected to beacon node") }).Infof("gRPC client connected to beacon node")
s.connectedRPCClients[clientInfo.Addr] = true s.connectedRPCClients[clientInfo.Addr] = true
} }
} }