mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
go-ipfs-config: core/commands: do not show PrivKey in config if it is null
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
35108597dd
commit
e8912c13ea
@ -8,7 +8,7 @@ import (
|
||||
// Identity tracks the configuration of the local node's identity.
|
||||
type Identity struct {
|
||||
PeerID string
|
||||
PrivKey string
|
||||
PrivKey string `json:",omitempty"`
|
||||
}
|
||||
|
||||
// DecodePrivateKey is a helper to decode the users PrivateKey
|
||||
|
||||
Loading…
Reference in New Issue
Block a user