diff --git a/network/identity/identity.go b/network/identity/identity.go index 9d05a57023..ee032b12ed 100644 --- a/network/identity/identity.go +++ b/network/identity/identity.go @@ -207,7 +207,7 @@ func (i *IdentityService) Hello(_ context.Context, req *proto.Status) (*proto.St func (i *IdentityService) constructStatus(peerID peer.ID) *proto.Status { return &proto.Status{ Metadata: map[string]string{ - PeerID: i.hostID.Pretty(), + PeerID: i.hostID.String(), }, Chain: i.chainID, TemporaryDial: i.baseServer.IsTemporaryDial(peerID), diff --git a/network/server_test.go b/network/server_test.go index ff29676255..7186768150 100644 --- a/network/server_test.go +++ b/network/server_test.go @@ -586,7 +586,7 @@ func TestSelfConnection_WithBootNodes(t *testing.T) { { name: "Should return an non empty bootnodes list", - bootNodes: []string{"/ip4/127.0.0.1/tcp/10001/p2p/" + peerID.Pretty(), testMultiAddr}, + bootNodes: []string{"/ip4/127.0.0.1/tcp/10001/p2p/" + peerID.String(), testMultiAddr}, expectedList: []*peer.AddrInfo{peerAddressInfo}, }, } diff --git a/tests/tests b/tests/tests index 7497b116a0..428f218d7d 160000 --- a/tests/tests +++ b/tests/tests @@ -1 +1 @@ -Subproject commit 7497b116a019beb26215cbea4028df068dea06be +Subproject commit 428f218d7d6f4a52544e12684afbfe6e2882ffbf