1
0
mirror of https://github.com/libp2p/go-libp2p-peerstore.git synced 2025-03-25 13:20:07 +08:00

Correct path to peer.AddrInfo in deprecation

This commit is contained in:
John B Nelson 2020-02-25 09:02:52 -08:00 committed by GitHub
parent 6c1dc4c8e0
commit 4533ab8f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import (
ma "github.com/multiformats/go-multiaddr"
)
// Deprecated: use github.com/libp2p/go-libp2p-core/peer.Info instead.
// Deprecated: use github.com/libp2p/go-libp2p-core/peer.AddrInfo instead.
type PeerInfo = core.AddrInfo
// Deprecated: use github.com/libp2p/go-libp2p-core/peer.ErrInvalidAddr instead.