mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-02 14:03:10 +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
|
||||
if customCfg == nil {
|
||||
nodeCfg = DefaultWakuConfig
|
||||
|
||||
} else {
|
||||
nodeCfg = *customCfg
|
||||
@ -1433,7 +1434,6 @@ func StartWakuNode(nodeName string, customCfg *WakuConfig) (*WakuNode, error) {
|
||||
tcpPort, udpPort = 0, 0 // Fallback to OS-assigned ports
|
||||
}
|
||||
|
||||
nodeCfg = DefaultWakuConfig
|
||||
nodeCfg.TcpPort = tcpPort
|
||||
nodeCfg.Discv5UdpPort = udpPort
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user