Skip to content
Snippets Groups Projects
Commit 71ca010f authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix build issue

parent cd2de626
No related branches found
No related tags found
2 merge requests!510Release,!245Josh/fix ud
......@@ -15,6 +15,7 @@ import (
"encoding/json"
"errors"
"fmt"
"gitlab.com/elixxir/client/storage/user"
"io/fs"
"io/ioutil"
"log"
......@@ -545,8 +546,15 @@ func createClient() *xxdk.Cmix {
if err != nil {
jww.FATAL.Panicf("%v", err)
}
protoUser := &user.Proto{}
err = json.Unmarshal(protoUserJson, protoUser)
if err != nil {
jww.FATAL.Panicf("%v", err)
}
err = xxdk.NewProtoClient_Unsafe(string(ndfJSON), storeDir,
pass, protoUserJson)
pass, protoUser)
} else if userIDprefix != "" {
err = xxdk.NewVanityClient(string(ndfJSON), storeDir,
pass, regCode, userIDprefix)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment