make object instead of ref

This commit is contained in:
Dmitriy Ryajov 2019-08-28 13:03:12 -06:00
parent 2d2c3ba977
commit b56b005ab7
1 changed files with 1 additions and 1 deletions

View File

@ -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]