make it compile

This commit is contained in:
Jeff Becker
2016-01-28 10:46:09 -05:00
parent 67d49585af
commit 5cf389a79d
8 changed files with 110 additions and 32 deletions

View File

@@ -23,5 +23,9 @@ func CreateRouter() (r *Router, err error) {
// run i2p router mainloop
func (r *Router) Run() {
r.ndb.Run()
// make sure the netdb is ready
err := r.ndb.Ensure(r.cfg.Bootstrap.LowPeerThreshold)
if err == nil {
// netdb ready
}
}