more TODO comments
This commit is contained in:
parent
524b566165
commit
37d7fd4486
|
@ -1813,7 +1813,8 @@ func wakuNew(nodeKey *ecdsa.PrivateKey,
|
||||||
ts = timesource.Default()
|
ts = timesource.Default()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* cfg = setDefaults(cfg)
|
/* TODO-nwaku
|
||||||
|
cfg = setDefaults(cfg)
|
||||||
if err = cfg.Validate(logger); err != nil {
|
if err = cfg.Validate(logger); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} */
|
} */
|
||||||
|
@ -1859,7 +1860,7 @@ func wakuNew(nodeKey *ecdsa.PrivateKey,
|
||||||
onHistoricMessagesRequestFailed: onHistoricMessagesRequestFailed,
|
onHistoricMessagesRequestFailed: onHistoricMessagesRequestFailed,
|
||||||
onPeerStats: onPeerStats,
|
onPeerStats: onPeerStats,
|
||||||
onlineChecker: onlinechecker.NewDefaultOnlineChecker(false).(*onlinechecker.DefaultOnlineChecker),
|
onlineChecker: onlinechecker.NewDefaultOnlineChecker(false).(*onlinechecker.DefaultOnlineChecker),
|
||||||
//sendQueue: publish.NewMessageQueue(1000, cfg.UseThrottledPublish),
|
//sendQueue: publish.NewMessageQueue(1000, cfg.UseThrottledPublish), // TODO-nwaku
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue