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
9e821883
Commit
9e821883
authored
2 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
revert some stuff
parent
716d69f2
No related branches found
No related tags found
3 merge requests
!510
Release
,
!365
attempt to fix mutex segfault in HandleReceivedRequest
,
!354
Channels impl
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ud/store/store.go
+2
-3
2 additions, 3 deletions
ud/store/store.go
with
2 additions
and
3 deletions
ud/store/store.go
+
2
−
3
View file @
9e821883
...
...
@@ -12,7 +12,6 @@ package ud
import
(
"encoding/json"
"github.com/pkg/errors"
jww
"github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/client/storage/versioned"
"gitlab.com/elixxir/primitives/fact"
"gitlab.com/xx_network/primitives/netTime"
...
...
@@ -251,7 +250,8 @@ func (s *Store) unmarshalConfirmedFacts(data []byte) (map[fact.Fact]struct{}, er
fStr
:=
fStrings
[
i
]
f
,
err
:=
fact
.
UnstringifyFact
(
fStr
)
if
err
!=
nil
{
return
confirmedFacts
,
errors
.
WithMessage
(
err
,
malformedFactErr
)
return
confirmedFacts
,
errors
.
WithMessagef
(
err
,
malformedFactErr
,
string
(
data
))
}
confirmedFacts
[
f
]
=
struct
{}{}
...
...
@@ -276,7 +276,6 @@ func (s *Store) unmarshalUnconfirmedFacts(data []byte) (map[string]fact.Fact, er
ufd
:=
ufdList
[
i
]
f
,
err
:=
fact
.
UnstringifyFact
(
ufd
.
stringifiedFact
)
if
err
!=
nil
{
jww
.
ERROR
.
Printf
(
"Bad fact data: %s"
,
data
)
return
unconfirmedFacts
,
errors
.
WithMessagef
(
err
,
malformedFactErr
,
string
(
data
))
}
...
...
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