Skip to content
Snippets Groups Projects
Commit 362b94ae authored by Jake Taylor's avatar Jake Taylor
Browse files

attempt to fix XX-4170

parent 3cad439c
No related branches found
No related tags found
3 merge requests!510Release,!365attempt to fix mutex segfault in HandleReceivedRequest,!354Channels impl
......@@ -274,10 +274,11 @@ func (s *Store) unmarshalUnconfirmedFacts(data []byte) (map[string]fact.Fact, er
// Deserialize the list into a map
unconfirmedFacts := make(map[string]fact.Fact, 0)
for _, ufd := range ufdList {
for i := range ufdList {
ufd := ufdList[i]
f, err := fact.UnstringifyFact(ufd.stringifiedFact)
if err != nil {
return nil, errors.WithMessage(err, malformedFactErr)
return unconfirmedFacts, errors.WithMessage(err, malformedFactErr)
}
unconfirmedFacts[ufd.confirmationId] = f
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment