Skip to content

Commit

Permalink
go-ipfs-config: core/commands: do not show PrivKey in config if it is…
Browse files Browse the repository at this point in the history
… null

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Jul 13, 2016
1 parent 3510859 commit e8912c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8912c1

Please sign in to comment.