mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 07:44:57 +00:00
add comment
This commit is contained in:
parent
212260c77d
commit
7d3328dfd7
@ -154,7 +154,7 @@ proc setupDiscoveryV5*(app: App): WakuDiscoveryV5 =
|
||||
|
||||
let discv5Conf = WakuDiscoveryV5Config(
|
||||
discv5Config: some(discv5Config),
|
||||
address: app.conf.listenAddress,
|
||||
address: app.conf.listenAddress, # TO DO: take this from the node instead of app.conf
|
||||
port: discv5UdpPort,
|
||||
privateKey: keys.PrivateKey(app.key.skkey),
|
||||
bootstrapRecords: discv5BootstrapEnrs,
|
||||
@ -267,8 +267,6 @@ proc startApp*(app: var App): AppResult[void] =
|
||||
|
||||
return ok()
|
||||
|
||||
|
||||
|
||||
## Monitoring and external interfaces
|
||||
|
||||
proc startRestServer(app: App, address: IpAddress, port: Port, conf: WakuNodeConf): AppResult[RestServerRef] =
|
||||
|
Loading…
x
Reference in New Issue
Block a user