merge miss

This commit is contained in:
Mantas Vidutis 2019-01-04 11:54:42 -08:00
parent 85cb72135d
commit d7b74b2c88
1 changed files with 1 additions and 7 deletions

View File

@ -64,13 +64,7 @@ func NewDaemon(ctx context.Context, maddr ma.Multiaddr, dhtEnabled bool, dhtClie
h.Close()
return nil, err
}
d := &Daemon{
ctx: ctx,
host: h,
listener: l,
handlers: make(map[proto.ID]string),
}
d.listener = l
go d.listen()