From a75561fd7b2c9a18cb44c654e802bacc24696c0f Mon Sep 17 00:00:00 2001
From: "Richard T. Carback III" <rick.carback@gmail.com>
Date: Wed, 20 Jul 2022 23:27:10 +0000
Subject: [PATCH] Fix crash

---
 storage/utility/contact.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/utility/contact.go b/storage/utility/contact.go
index c599fa806..ebf4d31bb 100644
--- a/storage/utility/contact.go
+++ b/storage/utility/contact.go
@@ -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)
-- 
GitLab