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…
Reference in New Issue