mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-04 06:53:11 +00:00
Fix failing issue
This commit is contained in:
parent
0ecd2580dc
commit
77c50b02ea
@ -1422,6 +1422,7 @@ func StartWakuNode(nodeName string, customCfg *WakuConfig) (*WakuNode, error) {
|
|||||||
|
|
||||||
var nodeCfg WakuConfig
|
var nodeCfg WakuConfig
|
||||||
if customCfg == nil {
|
if customCfg == nil {
|
||||||
|
nodeCfg = DefaultWakuConfig
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
nodeCfg = *customCfg
|
nodeCfg = *customCfg
|
||||||
@ -1433,7 +1434,6 @@ func StartWakuNode(nodeName string, customCfg *WakuConfig) (*WakuNode, error) {
|
|||||||
tcpPort, udpPort = 0, 0 // Fallback to OS-assigned ports
|
tcpPort, udpPort = 0, 0 // Fallback to OS-assigned ports
|
||||||
}
|
}
|
||||||
|
|
||||||
nodeCfg = DefaultWakuConfig
|
|
||||||
nodeCfg.TcpPort = tcpPort
|
nodeCfg.TcpPort = tcpPort
|
||||||
nodeCfg.Discv5UdpPort = udpPort
|
nodeCfg.Discv5UdpPort = udpPort
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user