mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-16 23:06:39 +00:00
make object instead of ref
This commit is contained in:
parent
2d2c3ba977
commit
b56b005ab7
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
import peer, multiaddress
|
import peer, multiaddress
|
||||||
|
|
||||||
type PeerInfo* = ref object of RootRef
|
type PeerInfo* = object of RootRef
|
||||||
peerId*: PeerID
|
peerId*: PeerID
|
||||||
addrs*: seq[MultiAddress]
|
addrs*: seq[MultiAddress]
|
||||||
protocols*: seq[string]
|
protocols*: seq[string]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user