mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 09:52:20 +08:00
updated multiaddr use across codebase
This commit is contained in:
@ -184,7 +184,7 @@ func TestGetFailures(t *testing.T) {
|
||||
func _randPeer() *peer.Peer {
|
||||
p := new(peer.Peer)
|
||||
p.ID = make(peer.ID, 16)
|
||||
p.Addresses = []*ma.Multiaddr{nil}
|
||||
p.Addresses = []ma.Multiaddr{nil}
|
||||
crand.Read(p.ID)
|
||||
return p
|
||||
}
|
||||
|
Reference in New Issue
Block a user