Merge PR #5562: Remove KeyringServiceName from the sdk.Config struct
This commit is contained in:
committed by
Alexander Bezobchuk
parent
a4b36b9dcd
commit
d0ff973386
@@ -274,7 +274,7 @@ func GetFromFields(input io.Reader, from string, genOnly bool) (sdk.AccAddress,
|
||||
return addr, "", nil
|
||||
}
|
||||
|
||||
keybase, err := keys.NewKeyring(sdk.GetConfig().GetKeyringServiceName(),
|
||||
keybase, err := keys.NewKeyring(sdk.KeyringServiceName(),
|
||||
viper.GetString(flags.FlagKeyringBackend), viper.GetString(flags.FlagHome), input)
|
||||
if err != nil {
|
||||
return nil, "", err
|
||||
|
||||
Reference in New Issue
Block a user