Update client/keys/utils.go
Co-Authored-By: alessio <quadrispro@ubuntu.com>
This commit is contained in:
parent
990852a5b2
commit
450873d080
|
@ -77,7 +77,7 @@ func ReadPassphraseFromStdin(name string) (string, error) {
|
|||
|
||||
// TODO make keybase take a database not load from the directory
|
||||
|
||||
// GetKeyBase initializes a keybase based on the configuration.
|
||||
// GetKeyBase initializes a read-only KeyBase based on the configuration.
|
||||
func GetKeyBase() (keys.Keybase, error) {
|
||||
rootDir := viper.GetString(cli.HomeFlag)
|
||||
return GetKeyBaseFromDir(rootDir)
|
||||
|
|
Loading…
Reference in New Issue