From a282548a1107548c2bd9955655477b8ae1939fad Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Mon, 26 Sep 2022 10:21:47 -0700 Subject: [PATCH] Clean up --- bindings/ud.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/bindings/ud.go b/bindings/ud.go index 3381d0734..4cecbfe2a 100644 --- a/bindings/ud.go +++ b/bindings/ud.go @@ -478,18 +478,12 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback, return err } - jww.INFO.Printf("MULTILOOKUP DEBUG idList: %s", lookupIds) - var idList []*id.ID err = json.Unmarshal(lookupIds, &idList) if err != nil { return err } - mar, _ := json.Marshal(idList) - jww.INFO.Printf("MULTILOOKUP DEBUG idList: %s\n"+ - "idList %s\n", mar, idList) - var p single.RequestParams err = json.Unmarshal(singleRequestParamsJSON, &p) if err != nil { @@ -506,7 +500,6 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback, } } go func(localID *id.ID) { - jww.INFO.Printf("MULTILOOKUP DEBUG looking up ID %s", localID) _, _, err := ud.Lookup(user.api, c, callback, localID, p) if err != nil { respCh <- lookupResp{ @@ -525,19 +518,6 @@ func MultiLookupUD(e2eID int, udContact []byte, cb UdMultiLookupCallback, var errorString string for numReturned := 0; numReturned < len(idList); numReturned++ { response := <-respCh - - mar, _ := json.Marshal(response) - jww.DEBUG.Printf("MULTILOOKUP DEBUG (responses): \n"+ - "response: %s\n"+ - "responseJSON: %s\n"+ - "response ID: %s\n"+ - "response Contact: %s\n"+ - "response err: %s\n", - response, - string(mar), - response.Id, - response.Contact.Marshal(), - response.Err) if response.Err != nil { failedIDs = append(failedIDs, response.Id) errorString = errorString + -- GitLab