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
No related branches found
No related tags found
3 merge requests!510Release,!226WIP: Api2.0,!207WIP: Client Restructure
......@@ -8,10 +8,10 @@
package backup
import (
"gitlab.com/elixxir/client/api/messenger"
"sync"
"time"
"gitlab.com/elixxir/client/api/messenger"
"gitlab.com/elixxir/client/storage/versioned"
"gitlab.com/elixxir/crypto/cyclic"
"gitlab.com/elixxir/primitives/fact"
......@@ -316,7 +316,11 @@ func (b *Backup) assembleBackup() backup.Backup {
}
// Get facts
bu.UserDiscoveryRegistration.FactList = b.ud.GetFacts()
if b.ud != nil {
bu.UserDiscoveryRegistration.FactList = b.ud.GetFacts()
} else {
bu.UserDiscoveryRegistration.FactList = fact.FactList{}
}
// Get contacts
bu.Contacts.Identities = b.e2e.GetAllPartnerIDs()
......
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