Skip to content
Snippets Groups Projects
Commit 9a95ec40 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Fix backup test

parent 9851c12a
Branches
Tags
3 merge requests!510Release,!226WIP: Api2.0,!207WIP: Client Restructure
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
package backup package backup
import ( import (
"gitlab.com/elixxir/client/api/messenger"
"sync" "sync"
"time" "time"
"gitlab.com/elixxir/client/api/messenger"
"gitlab.com/elixxir/client/storage/versioned" "gitlab.com/elixxir/client/storage/versioned"
"gitlab.com/elixxir/crypto/cyclic" "gitlab.com/elixxir/crypto/cyclic"
"gitlab.com/elixxir/primitives/fact" "gitlab.com/elixxir/primitives/fact"
...@@ -316,7 +316,11 @@ func (b *Backup) assembleBackup() backup.Backup { ...@@ -316,7 +316,11 @@ func (b *Backup) assembleBackup() backup.Backup {
} }
// Get facts // Get facts
if b.ud != nil {
bu.UserDiscoveryRegistration.FactList = b.ud.GetFacts() bu.UserDiscoveryRegistration.FactList = b.ud.GetFacts()
} else {
bu.UserDiscoveryRegistration.FactList = fact.FactList{}
}
// Get contacts // Get contacts
bu.Contacts.Identities = b.e2e.GetAllPartnerIDs() bu.Contacts.Identities = b.e2e.GetAllPartnerIDs()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment