diff --git a/net/net.go b/net/net.go index 3f2174c..0ea4465 100644 --- a/net/net.go +++ b/net/net.go @@ -48,7 +48,7 @@ func CreateTransportSocket(peerType string, uri *url.URL) (interface{}, error) { t, err := static.(PeerStatic).Connect(uri) - return &t, err + return t, err } func CreateTransportPeer(peerType string, options *TransportPeerConfig) (Peer, error) {