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
parent 990852a5b2
commit 450873d080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)