fix: dont return by ref

This commit is contained in:
Derrick Hammer 2024-01-07 06:51:40 -05:00
parent 8b2756caad
commit b8a38fde66
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func CreateTransportSocket(peerType string, uri *url.URL) (interface{}, error) {
t, err := static.(PeerStatic).Connect(uri) t, err := static.(PeerStatic).Connect(uri)
return &t, err return t, err
} }
func CreateTransportPeer(peerType string, options *TransportPeerConfig) (Peer, error) { func CreateTransportPeer(peerType string, options *TransportPeerConfig) (Peer, error) {