mirror of https://github.com/vacp2p/nim-libp2p.git
make object instead of ref
This commit is contained in:
parent
2d2c3ba977
commit
b56b005ab7
|
@ -9,7 +9,7 @@
|
|||
|
||||
import peer, multiaddress
|
||||
|
||||
type PeerInfo* = ref object of RootRef
|
||||
type PeerInfo* = object of RootRef
|
||||
peerId*: PeerID
|
||||
addrs*: seq[MultiAddress]
|
||||
protocols*: seq[string]
|
||||
|
|
Loading…
Reference in New Issue