Skip to content

Commit ff1b48e

Browse files
author
Cory Schwartz
committed
fix build err
1 parent 9d62a12 commit ff1b48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/ipfs_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func generateIdentity() (peer.ID, string, error) {
4040
if err != nil {
4141
return "", "", fmt.Errorf("cannot generate new key: %w", err)
4242
}
43-
privBytes, err := crypto.MarshalPrivateKey(priv)
43+
privBytes, err := ci.MarshalPrivateKey(priv)
4444
if err != nil {
4545
return "", "", fmt.Errorf("cannot get bytes from private key: %w", err)
4646
}

0 commit comments

Comments
 (0)