mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-05 07:23:10 +00:00
Use mobile.connectPeerID on connect_peerid
This commit is contained in:
parent
1a8543f98f
commit
5403a8fc28
@ -87,7 +87,7 @@ func waku_connect(address *C.char, ms C.int) *C.char {
|
||||
//export waku_connect_peerid
|
||||
// Connect to known peer by peerID. if ms > 0, cancel the function execution if it takes longer than N milliseconds
|
||||
func waku_connect_peerid(peerID *C.char, ms C.int) *C.char {
|
||||
response := mobile.Connect(C.GoString(peerID), int(ms))
|
||||
response := mobile.ConnectPeerID(C.GoString(peerID), int(ms))
|
||||
return C.CString(response)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user