aboutsummaryrefslogtreecommitdiffstats
path: root/lds/odr.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-05-06 17:16:53 +0800
committerSonic <sonic@dexon.org>2019-05-06 17:16:53 +0800
commit296787fb404212631d3167406bd369cd941a81b5 (patch)
tree53efc2fcb14caaa20ba8cc06d36dcf83d3b3d968 /lds/odr.go
parent523dce47c768847509415abff45909e5fdb3fbec (diff)
downloaddexon-296787fb404212631d3167406bd369cd941a81b5.tar
dexon-296787fb404212631d3167406bd369cd941a81b5.tar.gz
dexon-296787fb404212631d3167406bd369cd941a81b5.tar.bz2
dexon-296787fb404212631d3167406bd369cd941a81b5.tar.lz
dexon-296787fb404212631d3167406bd369cd941a81b5.tar.xz
dexon-296787fb404212631d3167406bd369cd941a81b5.tar.zst
dexon-296787fb404212631d3167406bd369cd941a81b5.zip
lds: rename LesOdrRequest and LesRequest to LdsOdrRequest and LdsRequest
Diffstat (limited to 'lds/odr.go')
-rw-r--r--lds/odr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lds/odr.go b/lds/odr.go
index 942ad340b..438ccc675 100644
--- a/lds/odr.go
+++ b/lds/odr.go
@@ -100,7 +100,7 @@ type Msg struct {
// Retrieve tries to fetch an object from the LES network.
// If the network retrieval was successful, it stores the object in local db.
func (odr *LdsOdr) Retrieve(ctx context.Context, req light.OdrRequest) (err error) {
- lreq := LesRequest(req)
+ lreq := LdsRequest(req)
reqID := genReqID()
rq := &distReq{