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

Fix crash

parent 6ef6b268
No related branches found
No related tags found
2 merge requests!510Release,!282Auth Store Fixes
......@@ -33,7 +33,7 @@ func StoreContact(kv *versioned.KV, c contact.Contact) error {
func LoadContact(kv *versioned.KV, cid *id.ID) (contact.Contact, uint64, error) {
vo, err := kv.Get(makeContactKey(cid), currentContactVersion)
if err != nil {
return contact.Contact{}, vo.Version, err
return contact.Contact{}, 0, err
}
c, err := contact.Unmarshal(vo.Data)
......
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