Skip to content

Commit

Permalink
create idemix user folder under root folder
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro authored and denyeart committed Jun 28, 2022
1 parent 29e083e commit 0fcf897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'")
Expand Down

0 comments on commit 0fcf897

Please sign in to comment.