Skip to content

Commit

Permalink
Revert Peer Log Changes (#13872)
Browse files Browse the repository at this point in the history
  • Loading branch information
nisdas authored Apr 12, 2024
1 parent 090a3e1 commit f2ce115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/p2p/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (s *Service) buildOptions(ip net.IP, priKey *ecdsa.PrivateKey) ([]libp2p.Op
return nil, errors.Wrapf(err, "cannot get ID from public key: %s", ifaceKey.GetPublic().Type().String())
}

log.WithField("peerId", id).Info("Running node with")
log.Infof("Running node with peer id of %s ", id.String())

options := []libp2p.Option{
privKeyOption(priKey),
Expand Down
2 changes: 1 addition & 1 deletion testing/endtoend/components/beacon_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (node *BeaconNode) Start(ctx context.Context) error {
}

if config.UseFixedPeerIDs {
peerId, err := helpers.FindFollowingTextInFile(stdOutFile, "Running node with")
peerId, err := helpers.FindFollowingTextInFile(stdOutFile, "Running node with peer id of ")
if err != nil {
return fmt.Errorf("could not find peer id: %w", err)
}
Expand Down

0 comments on commit f2ce115

Please sign in to comment.