From 0fcf897b4f57cfc774ebe5d5e75e75e89582429d Mon Sep 17 00:00:00 2001 From: Angelo De Caro Date: Wed, 22 Jun 2022 15:08:13 +0200 Subject: [PATCH] create idemix `user` folder under root folder Signed-off-by: Angelo De Caro --- lib/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.go b/lib/client.go index d4e744dd9..7ebacb26b 100644 --- a/lib/client.go +++ b/lib/client.go @@ -125,7 +125,7 @@ func (c *Client) Init() error { c.ipkFile = filepath.Join(mspDir, "IssuerPublicKey") // Idemix credentials directory - c.idemixCredsDir = path.Join(mspDir, "user") + c.idemixCredsDir = path.Join(c.HomeDir, "user") err = os.MkdirAll(c.idemixCredsDir, 0o755) if err != nil { return errors.Wrap(err, "Failed to create Idemix credentials directory 'user'")