Merge pull request #29 from mhchia/fix/dht-typo
Change `requestContext` to `d.requestContext`
This commit is contained in:
commit
8849db87a7
3
dht.go
3
dht.go
|
@ -2,7 +2,6 @@ package p2pd
|
|||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
pb "github.com/libp2p/go-libp2p-daemon/pb"
|
||||
|
||||
|
@ -287,7 +286,7 @@ func (d *Daemon) doDHTProvide(req *pb.DHTRequest) (*pb.Response, <-chan *pb.DHTR
|
|||
}
|
||||
|
||||
func (d *Daemon) dhtRequestContext(req *pb.DHTRequest) (context.Context, func()) {
|
||||
return requestContext(req.GetTimeout())
|
||||
return d.requestContext(req.GetTimeout())
|
||||
}
|
||||
|
||||
func dhtResponseBegin() *pb.DHTResponse {
|
||||
|
|
Loading…
Reference in New Issue