Update client/keys/utils.go

Co-Authored-By: alessio <quadrispro@ubuntu.com>
This commit is contained in:
Alexander Bezobchuk
2018-10-23 10:47:20 -07:00
committed by GitHub
co-authored by alessio
parent 990852a5b2
commit 450873d080
+1 -1
View File
@@ -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)