Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
b5c2cfd4
Commit
b5c2cfd4
authored
2 years ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Add debug logs to errors when loading
parent
6a6fec32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!510
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xxdk/e2e.go
+2
-1
2 additions, 1 deletion
xxdk/e2e.go
with
2 additions
and
1 deletion
xxdk/e2e.go
+
2
−
1
View file @
b5c2cfd4
...
...
@@ -194,13 +194,14 @@ func loadOrInitE2eLegacy(identity ReceptionIdentity, net *Cmix) (e2e.Handler, er
net
.
GetCmix
(),
identity
.
ID
,
e2eGrp
,
net
.
GetRng
(),
net
.
GetEventReporter
(),
rekey
.
GetDefaultParams
())
if
err
!=
nil
{
jww
.
DEBUG
.
Printf
(
"e2e.LoadLegacy error: %v"
,
err
)
//if no legacy e2e handler exists, try to load a new one
e2eHandler
,
err
=
e2e
.
Load
(
kv
,
net
.
GetCmix
(),
identity
.
ID
,
e2eGrp
,
net
.
GetRng
(),
net
.
GetEventReporter
())
if
err
!=
nil
{
jww
.
WARN
.
Printf
(
"Failed to load e2e instance for %s, "
+
"creating a new one"
,
identity
.
ID
)
"creating a new one
: %v
"
,
identity
.
ID
,
err
)
//initialize the e2e storage
privKey
,
err
:=
identity
.
GetDHKeyPrivate
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment