mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
chore: update to go1.21 for gateway over libp2p
This commit is contained in:
@ -237,7 +237,7 @@ func CreateIdentity(out io.Writer, opts []options.KeyGenerateOption) (Identity,
|
||||
if err != nil {
|
||||
return ident, err
|
||||
}
|
||||
ident.PeerID = id.Pretty()
|
||||
ident.PeerID = id.String()
|
||||
fmt.Fprintf(out, "peer identity: %s\n", ident.PeerID)
|
||||
return ident, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user